775 Commits

Author SHA1 Message Date
Jon Koops
d261e1615a
Upgrade chai to v6 (#9887)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2025-09-15 17:47:16 +02:00
Abbas Mehdi
1efd34912f
Circle: allow setStyle to update radius (#9853)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-08-25 22:19:08 +02:00
Simon Legner
01a53ea4c8
Fix Class.addInitHook with ES6 extends (#9848) 2025-08-17 13:34:40 +02:00
Simon Legner
1306d66e30
Fix includes: Evented.prototype (#9841) 2025-08-17 06:32:29 +02:00
Florian Bischof
c22d4cbad2
Bump eslint-config-mourne from 4.0.2 to 4.1.0 (#9838) 2025-08-16 11:48:06 +02:00
Florian Bischof
47167af0e4
Remove DomEvent addListener / removeListener alias & update types/docs (#9834) 2025-08-16 11:03:28 +02:00
radhika reddy
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
fyyyyy
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
Simon Legner
181f6c3807
TileLayer: fix getTileUrl parameter regression (#9766) 2025-07-06 20:11:22 +02:00
Luke Warlow
3fd10ee0a3
Drop aliased functions on Evented (#9781) 2025-07-06 19:19:35 +02:00
Simon Legner
d5bd6615c4
Test disabling DoubleClickZoom via doubleClickZoom=false (#9739) 2025-06-10 18:36:48 +02:00
Simon Legner
3380110188
Use optional chaining with function calls (#9737) 2025-05-30 08:45:09 +02:00
Simon Legner
f9cf3b144a
Convert CRS to ES6 classes (#9669)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-05-17 17:08:56 +02:00
Florian Bischof
43907c8f1d
Remove factory methods (#9626) 2025-05-17 17:03:01 +02:00
Florian Bischof
f4eeb7feea
Set version in Leaflet.js when npm version is called (#9717) 2025-05-14 18:45:43 +02:00
Florian Bischof
e9c66955c4
Refactor to PointerEvents (#9620) 2025-05-06 21:11:43 +02:00
Florian Bischof
dd4b28aef8
Remove deprecated methods / options (#9622) 2025-05-06 20:07:11 +02:00
Simon Legner
86a910e46e
TileLayer.WMS: fix wmsParams parameter regression (#9683) 2025-04-23 06:26:39 +02:00
Simon Legner
a45b5afab0
GeoJSON: fix object spread regression (#9678) 2025-04-21 19:03:38 +02:00
Florian Bischof
93d9dafeda
Fix video control / seek bar usage in safari (#9641) 2025-04-21 07:58:36 +02:00
Simon Legner
2d78fab823
Replace Util.extend with ES6 Object.assign or object spread (#9652) 2025-04-20 21:57:27 +02:00
Simon Legner
93509f310d
Use for...of (#9653) 2025-04-20 16:40:53 +02:00
Simon Legner
8855fa793e
Replace Util.getParamString with URL.searchParams (#9654) 2025-04-20 15:13:12 +02:00
Simon Legner
665fa53998
Use nullish coalescing and optional chaining (#9661) 2025-04-20 15:08:36 +02:00
Mahendra Pratap Singh
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
Simon Legner
c1d74dc61c
Enable prefer-exponentiation-operator linting rule and fix issues (#9660) 2025-04-20 13:45:11 +02:00
Florian Bischof
712ae1542a
Refactor docs for ESM (#9624) 2025-04-10 20:18:44 +02:00
Florian Bischof
2e998c55ad
Run test with the source files (#9609) 2025-03-24 11:17:03 +01: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
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
Florian Bischof
d2ed402d3d
Fix Canvas rendering after removing and adding (#9608) 2025-03-15 09:50:12 +01:00
Florian Bischof
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
Ray Chan
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
Karl Chen
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
Mihai Adauji
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
AshwinNema
ecdb13df2e
Add test for project method (#9303)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-03-01 09:44:37 +01:00
Beren Akpinar
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
Jouwee
29341e6f2e
Add automatically OSM attribution if not provided (#9489) 2025-02-28 22:16:44 +01:00
Mark Falconbridge
760ee0d90a
Clear timeouts on remove (#9577) 2025-02-28 22:01:51 +01:00
Florian Bischof
3d2f2c937c
Set specific Chrome window size to fix failing test in ubuntu (#9604) 2025-02-28 14:58:51 +01:00
Volodymyr Agafonkin
54f49b5bd4
Upgrade to ESLint 9+ and flat config (#9410) 2024-07-27 19:38:35 +03:00
Florian Bischof
35d79e012b
Add support for SSR runtimes (#9385)
Co-authored-by: Matt Hova <matthova87@gmail.com>
2024-07-06 17:17:43 +02:00
Jon Koops
dd272c06fe
Remove unused test globals from ESLint config (#9285) 2024-03-03 21:25:27 +01:00
Jon Koops
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
Volodymyr Agafonkin
f6653360c6
Fix CI tests to not depend on big Chrome window size (#9235) 2024-01-29 12:51:23 +02:00
Volodymyr Agafonkin
ea27b0f6cc
Speed up Karma runner by narrowing down files Karma serves (#9231) 2024-01-29 11:55:02 +02:00
Shreya Ghosh
3d0d4b36cb
flyToBounds tests added (#9112) 2023-11-12 21:22:26 +01:00
Florian Bischof
85de705791
Fixes showing tooltip while panning the map (#9154) 2023-11-12 18:48:03 +01:00
Yohan Boniface
b2048d2d8f
Do not propagate click when element has been removed from dom (#9052) 2023-08-01 12:07:31 +02:00
Florian Bischof
84940cc02e
Use Pointer Events for Control.Layers (#8759)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-07-16 14:44:20 +02:00