769 Commits

Author SHA1 Message Date
43a7e5412b Fix GeolocationCoordinates instance values in #locate (#9793)
Co-authored-by: Simon Legner <Simon.Legner@gmail.com>
2025-07-18 16:25:46 +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
d5bd6615c4 Test disabling DoubleClickZoom via doubleClickZoom=false (#9739) 2025-06-10 18:36:48 +02:00
3380110188 Use optional chaining with function calls (#9737) 2025-05-30 08:45:09 +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
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
dd4b28aef8 Remove deprecated methods / options (#9622) 2025-05-06 20:07:11 +02:00
86a910e46e TileLayer.WMS: fix wmsParams parameter regression (#9683) 2025-04-23 06:26:39 +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
2d78fab823 Replace Util.extend with ES6 Object.assign or object spread (#9652) 2025-04-20 21:57:27 +02:00
93509f310d Use for...of (#9653) 2025-04-20 16:40:53 +02:00
8855fa793e Replace Util.getParamString with URL.searchParams (#9654) 2025-04-20 15:13:12 +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
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
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
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
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
7d6bb49a43 Remove focus listeners with unbinding tooltip (#9232)
Co-authored-by: Adauji <5890802@ez.edeka.net>
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-03-01 11:03:39 +01:00
ecdb13df2e Add test for project method (#9303)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-03-01 09:44:37 +01:00
d1d4d17a53 Fix circle radius if L.CRS.Simple has inverted x axis (#9414)
Co-authored-by: Jerry Lin <jerrylin2488@gmail.com>
Co-authored-by: Aaron Sharif <aaronsharif62@gmail.com>
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-03-01 09:34:00 +01:00
29341e6f2e Add automatically OSM attribution if not provided (#9489) 2025-02-28 22:16:44 +01:00
760ee0d90a Clear timeouts on remove (#9577) 2025-02-28 22:01:51 +01:00
3d2f2c937c Set specific Chrome window size to fix failing test in ubuntu (#9604) 2025-02-28 14:58:51 +01:00
54f49b5bd4 Upgrade to ESLint 9+ and flat config (#9410) 2024-07-27 19:38:35 +03:00
35d79e012b Add support for SSR runtimes (#9385)
Co-authored-by: Matt Hova <matthova87@gmail.com>
2024-07-06 17:17:43 +02:00
dd272c06fe Remove unused test globals from ESLint config (#9285) 2024-03-03 21:25:27 +01:00
4e6ed4c4bc Use explicit imports chai and sinon in the test suite (#9284)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Vladimir Agafonkin <agafonkin@gmail.com>
2024-03-03 14:32:01 +01:00
f6653360c6 Fix CI tests to not depend on big Chrome window size (#9235) 2024-01-29 12:51:23 +02:00
ea27b0f6cc Speed up Karma runner by narrowing down files Karma serves (#9231) 2024-01-29 11:55:02 +02:00
3d0d4b36cb flyToBounds tests added (#9112) 2023-11-12 21:22:26 +01:00
85de705791 Fixes showing tooltip while panning the map (#9154) 2023-11-12 18:48:03 +01:00
b2048d2d8f Do not propagate click when element has been removed from dom (#9052) 2023-08-01 12:07:31 +02:00
84940cc02e Use Pointer Events for Control.Layers (#8759)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-07-16 14:44:20 +02:00
51e380e456 Add tests for BoxZoom (#9032) 2023-07-16 14:31:32 +02:00
999ca73c7d Include prosthetic-hand from GitHub (#9033) 2023-07-16 14:28:37 +02:00
854f71da03 Add possibility to create coverage reports (#9029) 2023-07-15 15:23:44 +02:00
2592967aa6 user _limitZoom in flyTo, like we do in resetView (#9025)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2023-07-12 20:52:52 +02:00
a2e0f65e57 Update ui-event-simulator and import as JavaScript module (#8977) 2023-06-03 17:24:35 +02:00
bb048a3eac Import Leaflet in tests using JavaScript modules (#8975) 2023-06-02 12:24:17 +02:00