15 Commits

Author SHA1 Message Date
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
d339e899fd
Convert map debug pages to ESM (#8838) 2023-02-13 11:36:48 +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
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
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
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
John Firebaugh
7623e0a593 Fix scrolling popup content on Firefox 2013-07-15 11:32:40 -07:00
Vladimir Agafonkin
3c13569147 update cloudmade API key on all debug pages 2013-03-22 16:27:07 +02:00
Eldar Djafarov
5985bffea0 Fix debug html pages after #1326 2013-01-31 08:29:39 -02:00
Mourner
13807db12e more mouse scrolling fixes, update build 2011-08-11 14:01:15 +03:00
Mourner
aa5849a2dc fixed mouse zoom when map is inside scrollable div, closes #206 2011-07-28 12:49:32 +03:00