Simon Legner
31586ddf13
Fix pointerover/pointermove/pointerout in debug page ( #9811 )
2025-08-01 14:02:31 +02:00
Florian Bischof
e9c66955c4
Refactor to PointerEvents ( #9620 )
2025-05-06 21:11:43 +02:00
Jon Koops
7ac98758d4
Drop UMD and make ESM the default entrypoint ( #8826 )
...
Signed-off-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-03-17 15:59:00 +01:00
Iván Sánchez Ortega
45c795a515
Implemented trackResize for L.Popup ( #9605 )
...
Signed-off-by: Iván Sánchez Ortega <ivan@sanchezortega.es>
2025-03-01 12:55:08 +01:00
alope107
e8b83eedfc
Update docs language for HTML and CSS. ( #8934 )
2023-04-28 14:34:59 +02:00
Jon Koops
a359cd1576
Use import maps to load Leaflet in the debug directory ( #8926 )
2023-04-23 16:37:19 +02:00
Jon Koops
d8028de881
Convert test debug pages to ESM ( #8921 )
2023-04-21 14:14:43 +02:00
Jon Koops
96a34b5127
Fix implementation for disabling & enabling text selection ( #8741 )
2022-12-25 14:30:22 +01:00
Grant
c2324e52e2
Use preferred tile.openstreetmap.org URL ( #8418 )
...
Now that tile.openstreetmap.org supports HTTP/2 + HTTP/3 the old (a|b|c).tile.openstreetmap.org is no longer recommended.
Use tile.openstreetmap.org directly is faster and will likely result in a better cache hit ratio.
Signed-off-by: Grant Slater <git@firefishy.com>
Signed-off-by: Grant Slater <git@firefishy.com>
2022-08-28 11:31:45 +02:00
Jon Koops
519db3d771
Expose ESM entrypoint with Leaflet global ( #8329 )
2022-07-20 22:18:09 +02:00
Falke Design
842dd30cac
Remove leaflet-include.js ( #7776 )
...
* Remove not necessary leaflet-include.js
* Remove not necessary leaflet-include.js & line ending
2021-11-25 19:19:15 +02:00
William Entriken
671c7c8bcb
Use "map" as HTML element id everywhere ( #7696 )
2021-10-29 16:34:17 +03:00
Roman Zoller
5ffe207921
Use https everywhere for OSM links ( #6082 )
...
* Use https everywhere for OSM tile URLs
Use
https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png
instead of
http://{s}.tile.osm.org/{z}/{x}/{y}.png
http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png
* Use https everywhere for OSM attribution link
Use
https://www.openstreetmap.org/copyright
instead of
http://www.openstreetmap.org/copyright
http://osm.org/copyright
2018-03-12 08:46:20 +01:00
Thach Hoang
0d1eae32be
Fix debug examples after rollup ( #5417 )
...
Fix #5373 .
- Remove references to removed file "../../build/deps.js"
- Update leaflet-include.js to point to "../dist/leaflet-src.js"
- Update watch to use the same destination file as rollup (dist/leaflet-src.js)
- Define getRandomLatLng where used
2017-03-28 08:40:48 +02:00
Uzerus
cab880d4d8
type attribute not required in HTML5
2017-02-06 20:32:50 +01:00
Vladimir Agafonkin
703ae02aa8
ES6 modules & Rollup ( #4989 )
...
* WIP ES6 modules & rollup
* WIP ES6 modules & rollup 2
* WIP ES6 modules & rollup 3
* WIP ES6 modules Browser
* WIP ES6 module fixes
* WIP ES6 modules: simpler browser exports
* WIP ES6: refactor CRS/Projection modules, CRS obj -> CRS.Base
* get rid of unnecessary index.js
* WIP ES6 modules, dom events and stuff
* Make linter happy, rollup to dist/
* revert to CRS namespace/class for now
* WIP rollup: export more stuff
* export controls
* rollup: export Layer
* rollup: export DomEvent
* rollup: export more layer types
* rollup: export Popup/Tooltip
* WIP: ES6-ify marker, icon, domutil, draggable.
* ES6-ify gridlayer, tilelayer.
* ES6-ify: Tweak imports-exports, code is now runnable!!
* ES6-ify: Fix scope in some DomUtils
* ES6-ify: Path, fix Popup
* ES6-ify: Lint & cleanup
* ES6-ify map handlers, more linting
* ES6-ify: Icon.Default namespacing
* ES6-ify: Renderers, CircleMarker
* ES6-ify: Circle, Polyline, LineUtil
* ES6-ify: Polygon, Rectangle, LineUtil, PolyUtil, linting
* ES6-ify: SVG.VML
* ES6-ify: DomEvent.Pointer, DomEvent.DoubleTap
* ES6-ify: Linting, make Karma play nice with Rollup
* ES6-ify: More work on fixing bits breaking some unit tests.
* ES6-ify: rollup the version number, fiddled with build scripts
* ES6-ify: Fiddle with test scripts
* ES6-ify: cleanup (refs to global L, imports from (DOM)Util), prevent cyclic loop on Map imports
* ES6-ify: More cleanup of (DOM)Util/Browser/DomEvent imports
* ES6ify: Use rollup's "legacy" option for ES3 (IE8) builds
* ES6-ify: Clean up build scripts, fix CONTRIBUTING.md instructions
* Typo
* ES6-ify: minor fixes and lefovers after rebasing on top of 1.0.2
* ES6-ify: upgrade to rollup 0.38 for proper IE8 builds, fix L.SVG.VML
* Make linter happy.
* ES6: Fixing typos and sxrew-ups after big rebase
* Fix symlink for debugging scripts
* ES6: Cleanup old build scripts
* ES6-ify: Update build system to include git rev in L.version
* ES6-ify: re-enable unit tests replacing L.Path with L.Polyline
* Export Path
* ES6ify: cleanup old banner file
* ES6-ify: whitespace in var declarations
* ES6-ify: Export toTransformation as L.transformation
* ES6-ify: cleanup L.transform exports
* ES6-ify: "import Util" in Transformation and SVG.VML
2017-01-30 11:35:16 +01:00
Jon Woyame
d5c499b732
limit css selectors for svg/canvas ( #4597 )
2016-11-11 10:45:34 +01:00
Per Liedman
0bcfbdb537
Cleanup, tests and minor bug fixes for event system
2016-07-08 15:01:38 +02:00
Nathan Cahill
425fa13cb4
Various debug fixes ( #4515 )
...
* various debug fixes
* fix mixed spaces and tabs
2016-04-29 12:35:50 +03:00
Iván Sánchez Ortega
6829134e90
Possible fix for #3530 , also should fix some shaking on pinch-zooming.
2016-03-21 15:51:29 +01:00
Yohan Boniface
50539d6fe5
Merge pull request #4131 from Leaflet/chrome-win10-dblclick
...
Possible fix for #4127 , assume dblclick DOM event exists in touch-capable browsers
2016-02-15 11:18:42 +01:00
Zsolt Ero
3fc511d219
added zoomSnap for examples
2016-02-08 17:04:30 +01:00
Vladimir Agafonkin
01455c0167
Merge pull request #4193 from Leaflet/grid-extra-loads
...
Fix extra tile usage
2016-02-08 16:53:50 +02:00
Iván Sánchez Ortega
51149b79e7
Fix counters on tile-events debug page
2016-02-08 12:46:34 +01:00
Iván Sánchez Ortega
39d7388a2f
Revert back to "prune tiles every tileready" behaviour
2016-02-05 17:07:03 +01:00
Iván Sánchez Ortega
e7fd00254e
Updated tile-events debugging page
2016-02-05 16:45:08 +01:00
Iván Sánchez Ortega
c6e2a2021a
Unit tests for flyTo and TileLayers.
2016-02-05 16:30:29 +01:00
Iván Sánchez Ortega
07039e05a9
Fix Stamen's Toner gridlayer in examples
2016-02-04 15:45:10 +01:00
Iván Sánchez Ortega
f777f42c6b
More GridLayer unit tests; Grid zoom calculation changed during zoom anims
2016-02-03 17:35:52 +01:00
Iván Sánchez Ortega
bf37a9106c
Change the way GridLayer is reset on a map viewreset
2016-02-02 16:56:18 +01:00
Iván Sánchez Ortega
ed05d4ac1e
Unit tests for GridLayer loading logic
2016-02-02 14:56:02 +01:00
Iván Sánchez Ortega
ce0b289504
Test webpage for dblclick/dbltap performance
2016-01-13 14:40:30 +01:00
Iván Sánchez Ortega
6a283294fa
Extra test case for #4093
2016-01-08 13:27:48 +01:00
Yohan Boniface
76cb60705f
Switch from L_PREFER_CANVAS to map.options.preferCanvas
2015-07-14 10:27:50 +02:00
Iván Sánchez Ortega
d67cbb24c1
More complete test webpage for #3307
2015-07-06 13:55:59 +02:00
Yohan Boniface
0d3448d494
Always fire DOM event on the map too
2015-07-06 13:55:59 +02:00
Steve Kashishian
3687ed81e6
Fix setting of offset for popups.
...
Fixes #3525
2015-07-02 00:44:30 +03:00
Vladimir Agafonkin
d48191f426
Revert "Fix setting of offset for popups."
...
This reverts commit 30d2959c23bc179225bb0628769a2e1ad533d5b9.
2015-07-01 22:16:36 +03:00
Vladimir Agafonkin
047830f131
Merge pull request #3526 from snkashis/popup_offsets
...
Fix setting of offset for popups.
2015-07-01 22:10:17 +03:00
Steve Kashishian
30d2959c23
Fix setting of offset for popups.
2015-07-01 14:01:29 -05:00
Iván Sánchez Ortega
cf5111306f
Implement non-square tiles for L.GridLayer, see #3570
2015-06-30 13:54:56 +02:00
Iván Sánchez Ortega
5245b94aad
Reworked pixelBounds calculation in GridTile to deal with fractional zoom
2015-06-09 09:44:52 +02:00
Vladimir Agafonkin
120d8523c5
Merge pull request #3514 from Leaflet/detached-memory-leak
...
Cleaning up map layers when map.remove() is run
2015-06-05 01:17:40 +03:00
Iván Sánchez Ortega
81b038926c
Cleaning up map layers when map.remove() is run
2015-06-04 16:30:38 +02:00
Iván Sánchez Ortega
3a9da3bd7c
Fixes #3431 , GridLayer.setOpacity() behaviour on active tiles.
2015-06-04 15:02:28 +02:00
Iván Sánchez Ortega
29e8507851
Test webpage for #3233
2015-05-08 16:32:57 +02:00
AndreyGeonya
9445c2f9f2
this commit fixes #2499
2014-08-05 18:14:02 +03:00
Steve Kashishian
ed926180d2
whitespace fixes
2014-03-04 11:04:00 -05:00
Steve Kashishian
28c56c4bb0
Remove cloudmade tilesets
2014-03-04 10:54:41 -05:00
Vladimir Agafonkin
9edf8e0ea3
remove leaflet.ie.css inclusion in all debug pages
2013-11-08 16:44:14 +02:00