28 Commits

Author SHA1 Message Date
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
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
Jon Koops
2daebbb439
Remove Internet Explorer from browser detection (#8559) 2022-10-13 11:41:13 +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
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
Per Liedman
957659fcd0 Move attribution option and getAttribution to L.Layer (#5070)
Close #5051.
2016-11-03 09:32:56 +01:00
Nathan Cahill
425fa13cb4 Various debug fixes (#4515)
* various debug fixes
* fix mixed spaces and tabs
2016-04-29 12:35:50 +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
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
Vladimir Agafonkin
6e5b37c36b fix geojson example for IE 2012-08-08 12:18:05 +03:00
Vladimir Agafonkin
35dff37fdb improve geojson example a bit 2012-08-07 11:56:48 +03:00
mourner
b2c61b74f2 Improve GeoJSON example 2012-08-04 11:43:55 +03:00
mourner
fc1e6669ab improve geojson example colors, add legend 2012-08-03 23:50:14 +03:00
Vladimir Agafonkin
5281dbe99d improve geojson example more 2012-08-03 16:11:41 +03:00
Vladimir Agafonkin
4d91aae677 improve geojson example 2012-08-03 15:48:16 +03:00
Vladimir Agafonkin
1ba68c7bed improve geojson example 2012-08-03 15:08:49 +03:00
Vladimir Agafonkin
7a8df104b0 custom control for geojson example 2012-08-03 15:02:40 +03:00
Vladimir Agafonkin
62a84dedd8 new geojson example with US states 2012-08-03 14:49:45 +03:00
Vladimir Agafonkin
92c704f33b Improved GeoJSON API, closed #315, closed #715 2012-07-09 14:42:44 +03:00
mourner
fc0b477622 minor cleanup 2012-02-25 17:13:30 +02:00