Commit Graph

3427 Commits

Author SHA1 Message Date
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
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
cb315e4527 Open Leaflet link via attribution in a seperate tab (#9471)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-03-01 09:13:40 +01:00
9fa2c0433e Updated Evergreen language in the documentation (#9488)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-03-01 08:47:06 +01:00
29341e6f2e Add automatically OSM attribution if not provided (#9489) 2025-02-28 22:16:44 +01:00
44c84ba063 Evergreen language updates and removal (#9528) 2025-02-28 22:06:58 +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
35d79e012b Add support for SSR runtimes (#9385)
Co-authored-by: Matt Hova <matthova87@gmail.com>
2024-07-06 17:17:43 +02:00
cd91b0db97 Add Docstring for L.Marker getElement() (#9180) 2024-06-17 15:06:34 +02:00
9b51c8dab4 Fix hover underline in flag + Leaflet attribution prefix (#9280) 2024-02-27 18:37:32 +02:00
ee02c83f28 Get rif of prefixed requestAnimationFrame leftovers (#9241) 2024-02-02 19:11:30 +02:00
b2fd591c33 Remove legacy timer fallbacks for requestAnimFrame (#9236) 2024-01-29 13:01:10 +02: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
084f5d9b7c Use Pointer Events for Map.BoxZoom (#8757) 2023-07-14 15:42:15 +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
1269e1622a Update the height of the container after resizing the window (#9019) 2023-07-07 21:51:58 +02:00
4f8e3f5a82 Bugfix: Fix noMoveStart option for fitBounds method (#8911)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2023-05-18 09:49:11 +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
1d1dbeb879 Prevent adding layer while expanding Layer-Control on mobile (#8910) 2023-05-16 21:07:35 +02:00
3a5e472e88 Replace expect.js with Chai (#8952) 2023-05-15 13:55:28 +02:00
e8b83eedfc Update docs language for HTML and CSS. (#8934) 2023-04-28 14:34:59 +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
93ec461b09 Move initialization logic for sub-classes to Class constructor (#8872) 2023-03-06 12:04:46 +01:00
bedad7e850 Implement BlanketOverlay as Renderer superclass (#8611)
Signed-off-by: Iván Sánchez Ortega <ivan@sanchezortega.es>
2023-02-28 20:54:48 +01:00
0dd15699fd Fix rounding errors in center calculation for small layers (#8784) 2023-02-28 20:40:46 +01:00
c3567379d1 Convert Class to a JavaScript class (#8871) 2023-02-28 20:16:55 +01:00
1fa85b6c3c Use Pointer Events for Map.Keyboard (#8758) 2023-02-20 18:50:29 +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
bcf8456080 Use Object.setPrototypeOf() to extend Class (#8824) 2023-02-13 12:09:44 +01:00
ddbe741ce6 Move callInitHooks() to prototype of Class (#8825) 2023-02-13 12:06:00 +01:00
73cdf9d99f Update PolyUtil.js (#8840)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2023-02-11 08:40:16 +01:00
8c38dbafb6 Enforce .js file extension for module imports (#8837) 2023-02-09 23:07:27 +01:00
25fc087617 Destructure statics and includes from class properties (#8823) 2023-02-05 21:25:05 +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
b3c1381504 Drop __super__ property from Class (#8800) 2023-01-17 00:32:47 +01:00
7e2019b21c Remove deprecated which and change button to main-button (#8796) 2023-01-13 23:04:29 +01:00
bb34482384 Refactor Event handling and happen.js (#8760) 2023-01-01 23:43:51 +01:00
097608274f Remove WebKit-based browser detection (#8773) 2023-01-01 18:23:01 +01:00
0042d0b0dd Add shadow-icon as svg icon and add white circle to marker-icon (#8768) 2023-01-01 17:55:14 +01:00
9c58fcdd0a Remove passive event detection (#8772) 2023-01-01 17:52:46 +01:00
e334bde62f Remove Gecko-based browser detection (#8770) 2023-01-01 17:29:50 +01:00
6c8e841457 Remove Windows platform detection (#8769) 2022-12-31 21:50:02 +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
ba5b633814 Remove L_NO_TOUCH global switch (#8752)
Co-authored-by: Iván Sánchez Ortega <ivan@sanchezortega.es>
2022-12-27 12:33:22 +01:00
c6fd99f072 Hold element positions in WeakMap (#8749) 2022-12-27 12:29:27 +01:00