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
Jon Koops
a359cd1576
Use import maps to load Leaflet in the debug directory ( #8926 )
2023-04-23 16:37:19 +02:00
Jon Koops
f0ca5bc9cf
Convert vector debug pages to ESM ( #8924 )
2023-04-23 01:20:29 +02: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
Florian Bischof
20654cd159
Replace Mapbox with OpenStreetMap ( #7818 )
...
* Replace Mapbox with OpenStreetMap
Replace Mapbox with OpenStreetMap
* Revert Gemfile
* Replace blanks with tabs
* Fix lint
* Replace Mapbox with OSM
* Add OSM Tile Usage Policy link
* typo: productive→production
Co-authored-by: Iván Sánchez Ortega <ivan@sanchezortega.es>
2022-05-27 11:33:15 +03: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
Josh Erb
cd12b94a4d
[docs] correct Mapbox examples' tileSize ( #6995 )
...
* update debug pages
* correct tileSize & zoomOffset for all Mapbox examples
2020-02-14 01:49:03 +01:00
Josh Erb
4a8e55b0c4
[docs] Update Doc Examples to Use Modern Endpoint ( #6905 )
...
* update the first few examples
* Update all legacy Static API urls with modern URLs
* Add missing map??
* oops stray png
* Remove example.html
2019-11-28 08:41:37 +02: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
Lyzi Diamond
7391e308cc
rotate access tokens ( #5338 )
2017-02-16 09:44:50 +02:00
Uzerus
cab880d4d8
type attribute not required in HTML5
2017-02-06 20:32:50 +01:00
Per Liedman
4c484462dc
Canvas improvements ( #5115 )
...
* WIP refactor canvas clear
* Fix clearing bounds, remov unnecessary code
* Refactor redraw logic
* Remove flicker on update
* Fix code style
* Add support for layer ordering with bringToFront/bringToBack
* Fix redraw when layer moves
* Add example for moving canvas layers
* Fix code style
* Use layer ordering for mouse events
* Fix removing first or last layer
2016-11-18 15:22:35 +01:00