14 Commits

Author SHA1 Message Date
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
a359cd1576 Use import maps to load Leaflet in the debug directory (#8926) 2023-04-23 16:37:19 +02:00
d8028de881 Convert test debug pages to ESM (#8921) 2023-04-21 14:14:43 +02:00
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
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
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
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
cab880d4d8 type attribute not required in HTML5 2017-02-06 20:32:50 +01:00
425fa13cb4 Various debug fixes (#4515)
* various debug fixes
* fix mixed spaces and tabs
2016-04-29 12:35:50 +03:00
28c56c4bb0 Remove cloudmade tilesets 2014-03-04 10:54:41 -05:00
9edf8e0ea3 remove leaflet.ie.css inclusion in all debug pages 2013-11-08 16:44:14 +02:00
3c13569147 update cloudmade API key on all debug pages 2013-03-22 16:27:07 +02:00
5985bffea0 Fix debug html pages after #1326 2013-01-31 08:29:39 -02:00
b96f23d2dd Add a page for testing opacity works. 2012-08-02 11:30:50 +12:00