Commit Graph

3427 Commits

Author SHA1 Message Date
333009fe7a docs: clarify L.Draggable works on any DOM element (#6710) (#9787)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-07-07 13:27:41 +02:00
42a75331ed Uint8Array is widely available (#9788) 2025-07-07 13:26:16 +02:00
242f257440 CSS: set panes to 100% width so that popups fill max-width (#9765)
Signed-off-by: Iván Sánchez Ortega <ivan@sanchezortega.es>
2025-07-07 13:25:27 +02:00
eae77baac2 Add option collapseDelay to Control.Layers (#9612)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-07-06 20:25:00 +02:00
181f6c3807 TileLayer: fix getTileUrl parameter regression (#9766) 2025-07-06 20:11:22 +02:00
3fd10ee0a3 Drop aliased functions on Evented (#9781) 2025-07-06 19:19:35 +02:00
170b72efa1 Revert "fix IE6-8 throwing error on map.remove()" (#9782) 2025-07-06 18:20:19 +02:00
dc4f1a8eb5 Remove _createRadioElement IE7 workaround (#9772) 2025-07-04 13:49:02 +03:00
7196427c11 Use optional chaining with function calls (#9743) 2025-06-10 18:34:22 +02:00
27502be157 Prevent Unmanaged watchPosition on Repeated map.locate() Calls (#9746)
Co-authored-by: Jørgen Sneisen <jorgen.sneisen@where2o.com>
2025-06-06 19:23:39 +02:00
03cd98fc66 Update documentation (#9745) 2025-06-06 18:27:22 +02:00
5dba5e6854 Fix typo "constructor TileLayer" (#9738) 2025-05-30 08:46:12 +02:00
3380110188 Use optional chaining with function calls (#9737) 2025-05-30 08:45:09 +02:00
a01d0a9168 Remove factory method L.control (#9729) 2025-05-21 17:38:16 +02:00
a95c2a1303 Increase minimum width of popups to 100px (#9728)
Signed-off-by: Iván Sánchez Ortega <ivan@sanchezortega.es>
2025-05-19 17:45:09 +02:00
00aa415832 2.0.0-alpha 2025-05-18 08:20:44 +02:00
f9cf3b144a Convert CRS to ES6 classes (#9669)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-05-17 17:08:56 +02:00
43907c8f1d Remove factory methods (#9626) 2025-05-17 17:03:01 +02:00
7f4863e51e Use SVG icon for layer control and move assets to src/ (#9665)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-05-17 16:41:25 +02:00
f4eeb7feea Set version in Leaflet.js when npm version is called (#9717) 2025-05-14 18:45:43 +02:00
e9c66955c4 Refactor to PointerEvents (#9620) 2025-05-06 21:11:43 +02:00
97362a7309 Export global L in new bundle (#9686) 2025-05-06 20:56:40 +02:00
dd4b28aef8 Remove deprecated methods / options (#9622) 2025-05-06 20:07:11 +02:00
1e9fa63171 Removes mozEvent warning (#9650) 2025-05-06 19:53:22 +02:00
92011b7ce2 Add aria-keyshortcuts to map container (#9688) 2025-04-25 14:41:20 +02:00
86a910e46e TileLayer.WMS: fix wmsParams parameter regression (#9683) 2025-04-23 06:26:39 +02:00
b00da86477 Use arrow callback (#9684) 2025-04-23 06:24:40 +02:00
a45b5afab0 GeoJSON: fix object spread regression (#9678) 2025-04-21 19:03:38 +02:00
93d9dafeda Fix video control / seek bar usage in safari (#9641) 2025-04-21 07:58:36 +02:00
90095bc810 VideoOverlay: add controls option (#9666) 2025-04-21 07:57:28 +02:00
2d78fab823 Replace Util.extend with ES6 Object.assign or object spread (#9652) 2025-04-20 21:57:27 +02:00
9e199c8ad1 Improve documentation about renderer and pane (#9651)
Co-authored-by: Simon Legner <Simon.Legner@gmail.com>
2025-04-20 16:48:10 +02:00
93509f310d Use for...of (#9653) 2025-04-20 16:40:53 +02:00
c76ec7918a Convert Bounds, LatLng, LatLngBounds, Point, Transformation to ES6 classes (#9655)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-04-20 15:36:46 +02:00
8855fa793e Replace Util.getParamString with URL.searchParams (#9654) 2025-04-20 15:13:12 +02:00
322be5b7f4 Use arrow callback and shorthand methods (#9659) 2025-04-20 15:11:40 +02:00
665fa53998 Use nullish coalescing and optional chaining (#9661) 2025-04-20 15:08:36 +02:00
07252ebffb Rename TouchZoom handler to PinchZoom (keep TouchZoom as alias for backward compatibility) (#9642)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-04-20 13:54:24 +02:00
c1d74dc61c Enable prefer-exponentiation-operator linting rule and fix issues (#9660) 2025-04-20 13:45:11 +02:00
c2946c429e Add dashOffset to Canvas (#9649)
Co-authored-by: McBen <viertelvor12@gmx.net>
2025-04-18 17:28:05 +02:00
18ba00aee3 Add cancelable check before preventDefault while dragging (#9639) 2025-04-12 21:35:38 +02:00
712ae1542a Refactor docs for ESM (#9624) 2025-04-10 20:18:44 +02:00
2e998c55ad Run test with the source files (#9609) 2025-03-24 11:17:03 +01:00
8f1accacf0 Replace animation frame polyfill with native API (#8810)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-03-16 08:44:56 +01:00
d2ed402d3d Fix Canvas rendering after removing and adding (#9608) 2025-03-15 09:50:12 +01:00
0549bf24ed Clean up animation proxy when destroying map (#9048)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-03-14 20:49:19 +01:00
2c3ee41dc6 Prevent Icon.Default from adding shadow icon to the map if icon-option is falsy (#9607) 2025-03-02 08:25:20 +01:00
511f8f11e7 TileLayer rounds fractional zoom in url to integer {z} (#8613)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-03-01 21:54:26 +01:00
7fc600920d Bugfix: Refocus map after using layers control (#9004) (#9005)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-03-01 18:12:26 +01:00
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