Commit Graph

677 Commits

Author SHA1 Message Date
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
54f49b5bd4 Upgrade to ESLint 9+ and flat config (#9410) 2024-07-27 19:38:35 +03: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
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
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
2d048c1426 Fix issue whereby tooltips loaded dynamically while moving the map were never shown. (#8672)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2023-05-18 09:44:10 +02:00
de57e9895d Fix tooltip focus listener if getElement is no function (#8890) 2023-05-16 21:12:01 +02:00
3a5e472e88 Replace expect.js with Chai (#8952) 2023-05-15 13:55:28 +02:00
423e4ab25a Guard for-in loops and enable guard-for-in lint rule. (#8879) 2023-04-15 18:46:05 +02:00
fd0fed279a Set outlineStyle instead of outline when preventing outline (#8917) 2023-04-12 23:14:41 +02:00
0dd15699fd Fix rounding errors in center calculation for small layers (#8784) 2023-02-28 20:40:46 +01:00
e1ef5761cc Revamp synthetic dblclick event instantiation (#8632)
Signed-off-by: Iván Sánchez Ortega <ivan@sanchezortega.es>
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2023-02-20 18:49:10 +01:00
fbb9fa8cfe Lint: single quotes in spec 2023-02-20 16:26:28 +01:00
f8fe7f9483 Added two more test cases for the unproject map method (#8637) 2023-02-20 14:45:43 +01:00
73cdf9d99f Update PolyUtil.js (#8840)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2023-02-11 08:40:16 +01:00
d1016279f3 fix vector drifts when zoomAnimation is false and zooming via flyTo or pinch (#8794)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2023-02-02 13:12:08 +02:00
7e2019b21c Remove deprecated which and change button to main-button (#8796) 2023-01-13 23:04:29 +01:00
8137047515 Vector Drift Test Pinch Zoom Fix (#8644)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2023-01-13 14:22:20 +01:00
bb34482384 Refactor Event handling and happen.js (#8760) 2023-01-01 23:43:51 +01:00
4e77741a66 Remove references to PhantomJS (#8771) 2023-01-01 17:52:26 +01:00
9f35179419 Remove Browser.canvas feature detection (#8754)
Co-authored-by: Iván Sánchez Ortega <ivan@sanchezortega.es>
2022-12-27 12:45:26 +01:00
c6fd99f072 Hold element positions in WeakMap (#8749) 2022-12-27 12:29:27 +01:00
c5c8fb4bc2 Remove noConflict() (#8753) 2022-12-27 12:28:44 +01:00
3f5ea5a271 Remove Browser.any3d (#8748) 2022-12-26 18:52:12 +01:00
9c55e6e7a6 Remove DomUtil.getStyle() (#8747) 2022-12-26 18:50:09 +01:00
96a34b5127 Fix implementation for disabling & enabling text selection (#8741) 2022-12-25 14:30:22 +01:00
65b44e0e44 Remove DomUtil.testProp() (#8739) 2022-12-23 11:58:34 +01:00
5ff2bb2d56 toGeoJSON() should still work if no values in coords array (#8737) 2022-12-22 20:55:48 +01:00
8314c9e11d Replace DomUtil.empty() with Element.replaceChildren() (#8736) 2022-12-22 20:23:14 +01:00
2f6aad5d48 Replace DomUtil.remove() with Element.remove() (#8735) 2022-12-22 20:08:18 +01:00
0fd334acce Remove DomUtil.TRANSFORM constant (#8733) 2022-12-22 19:28:39 +01:00
03c2e4b678 Replace DomUtil.removeClass() with classList.remove() (#8732) 2022-12-22 19:16:07 +01:00
3674cd1c62 Remove DomUtil.setOpacity (#8730) 2022-12-22 18:53:09 +01:00
f50ca5d40a Replace DomUtil.addClass() with classList.add() (#8731) 2022-12-22 18:50:04 +01:00
6e9716b1b0 Remove DomUtil.setClass() method (#8729) 2022-12-22 17:22:46 +01:00
220f80bcb2 Replace DomUtil.getClass() with classList.value (#8728) 2022-12-22 16:45:06 +01:00