3367 Commits

Author SHA1 Message Date
Roman Karavia
9b51c8dab4
Fix hover underline in flag + Leaflet attribution prefix (#9280) 2024-02-27 18:37:32 +02:00
Volodymyr Agafonkin
ee02c83f28
Get rif of prefixed requestAnimationFrame leftovers (#9241) 2024-02-02 19:11:30 +02:00
Volodymyr Agafonkin
b2fd591c33
Remove legacy timer fallbacks for requestAnimFrame (#9236) 2024-01-29 13:01:10 +02: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
Jon Koops
084f5d9b7c
Use Pointer Events for Map.BoxZoom (#8757) 2023-07-14 15:42:15 +02:00
Yohan Boniface
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
Florian Bischof
1269e1622a
Update the height of the container after resizing the window (#9019) 2023-07-07 21:51:58 +02:00
Abdullah Sohail
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
Ben Li-Sauerwine
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
Florian Bischof
de57e9895d
Fix tooltip focus listener if getElement is no function (#8890) 2023-05-16 21:12:01 +02:00
Florian Bischof
1d1dbeb879
Prevent adding layer while expanding Layer-Control on mobile (#8910) 2023-05-16 21:07:35 +02:00
Jon Koops
3a5e472e88
Replace expect.js with Chai (#8952) 2023-05-15 13:55:28 +02:00
alope107
e8b83eedfc
Update docs language for HTML and CSS. (#8934) 2023-04-28 14:34:59 +02:00
alope107
423e4ab25a
Guard for-in loops and enable guard-for-in lint rule. (#8879) 2023-04-15 18:46:05 +02:00
Jon Koops
fd0fed279a
Set outlineStyle instead of outline when preventing outline (#8917) 2023-04-12 23:14:41 +02:00
Jon Koops
93ec461b09
Move initialization logic for sub-classes to Class constructor (#8872) 2023-03-06 12:04:46 +01:00
Iván Sánchez Ortega
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
Florian Bischof
0dd15699fd Fix rounding errors in center calculation for small layers (#8784) 2023-02-28 20:40:46 +01:00
Jon Koops
c3567379d1
Convert Class to a JavaScript class (#8871) 2023-02-28 20:16:55 +01:00
Florian Bischof
1fa85b6c3c
Use Pointer Events for Map.Keyboard (#8758) 2023-02-20 18:50:29 +01:00
Iván Sánchez Ortega
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
Jon Koops
bcf8456080
Use Object.setPrototypeOf() to extend Class (#8824) 2023-02-13 12:09:44 +01:00
Jon Koops
ddbe741ce6
Move callInitHooks() to prototype of Class (#8825) 2023-02-13 12:06:00 +01:00
David Vaz
73cdf9d99f
Update PolyUtil.js (#8840)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2023-02-11 08:40:16 +01:00
Jesse Tane
8c38dbafb6
Enforce .js file extension for module imports (#8837) 2023-02-09 23:07:27 +01:00
Jon Koops
25fc087617
Destructure statics and includes from class properties (#8823) 2023-02-05 21:25:05 +01:00
Zhongxiang Wang
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
Jon Koops
b3c1381504
Drop __super__ property from Class (#8800) 2023-01-17 00:32:47 +01:00
Florian Bischof
7e2019b21c
Remove deprecated which and change button to main-button (#8796) 2023-01-13 23:04:29 +01:00
Florian Bischof
bb34482384
Refactor Event handling and happen.js (#8760) 2023-01-01 23:43:51 +01:00
Jon Koops
097608274f
Remove WebKit-based browser detection (#8773) 2023-01-01 18:23:01 +01:00
Florian Bischof
0042d0b0dd
Add shadow-icon as svg icon and add white circle to marker-icon (#8768) 2023-01-01 17:55:14 +01:00
Jon Koops
9c58fcdd0a
Remove passive event detection (#8772) 2023-01-01 17:52:46 +01:00
Jon Koops
e334bde62f
Remove Gecko-based browser detection (#8770) 2023-01-01 17:29:50 +01:00
Jon Koops
6c8e841457
Remove Windows platform detection (#8769) 2022-12-31 21:50:02 +01:00
Jon Koops
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
Jon Koops
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
Jon Koops
c6fd99f072
Hold element positions in WeakMap (#8749) 2022-12-27 12:29:27 +01:00
Jon Koops
3b53ba3350
Remove browser specific detection code for CSS transforms (#8751) 2022-12-27 12:29:00 +01:00
Jon Koops
c5c8fb4bc2
Remove noConflict() (#8753) 2022-12-27 12:28:44 +01:00
Jon Koops
d96cbbffbf
Remove SVG feature detection code (#8755) 2022-12-27 12:28:02 +01:00
Jon Koops
3f5ea5a271
Remove Browser.any3d (#8748) 2022-12-26 18:52:12 +01:00
Jon Koops
9c55e6e7a6
Remove DomUtil.getStyle() (#8747) 2022-12-26 18:50:09 +01:00
Jon Koops
96a34b5127
Fix implementation for disabling & enabling text selection (#8741) 2022-12-25 14:30:22 +01:00
Jon Koops
65b44e0e44
Remove DomUtil.testProp() (#8739) 2022-12-23 11:58:34 +01:00
Jon Koops
3955311451
Remove vendor prefixes when setting userSelect style (#8738) 2022-12-22 20:58:39 +01:00
Florian Bischof
5ff2bb2d56
toGeoJSON() should still work if no values in coords array (#8737) 2022-12-22 20:55:48 +01:00
Jon Koops
8314c9e11d
Replace DomUtil.empty() with Element.replaceChildren() (#8736) 2022-12-22 20:23:14 +01:00