Commit Graph

698 Commits

Author SHA1 Message Date
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
e68f586dd7 Replace DomUtil.hasClass() with classList.contains() (#8727) 2022-12-22 16:36:12 +01:00
191902803f Add closeButtonLabel option for Popup close button 2022-12-22 15:22:28 +01:00
35e8c35f90 Fix linting issues 2022-11-30 12:18:40 +01:00
be47f10d5f Enforce quotes ESLint rule for the spec directory (#8686) 2022-11-30 11:59:18 +01:00
a20ac43bc2 Use the classList API for class manipulation methods in DomUtil (#8685) 2022-11-30 11:57:59 +01:00
3e74ccef63 Replace Util.create() with Object.create() (#8681) 2022-11-25 23:46:45 +01:00
7b5de0fbba Replace Util.isArray() with Array.isArray() (#8683) 2022-11-25 23:43:02 +01:00
6b90c169d6 Fix closed coord's reference in latLngsToCoords (#7344)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2022-10-30 10:30:52 +01:00
9c980d085f Adding tests for 'layerPointToLatLng' method #8375 (#8435)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2022-10-28 18:26:28 +02:00
2a6443ad69 Fix linting issues of current main (#8626) 2022-10-26 12:54:16 +02:00
33d6363cd5 Fix worldCopyJump with Keyboard (#8562) 2022-10-26 12:22:10 +02:00
97d3542587 Use ResizeObserver for map resizes (#8612)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2022-10-26 10:34:59 +02:00
57c4cf4fb0 Remove indexOf() function from Util (#8623) 2022-10-25 13:19:02 +02:00
119785e3a9 Enable no-var linting rule and fix issues (#8602) 2022-10-20 21:18:26 +02:00
a84cb28bb4 Remove Karma launcher for Microsoft Edge (#8604) 2022-10-20 14:55:35 +02:00
d777c79f7a Enable prefer-arrow-callback linting rule and fix issues (#8594) 2022-10-20 00:10:54 +02:00
5e66c62405 Enable object-shorthand linting rule and fix issues (#8592) 2022-10-19 11:59:15 +02:00
4e14f90d86 Enable prefer-rest-params linting rule and fix issues (#8593) 2022-10-18 23:46:16 +02:00
c33a57ca3a Enable prefer-template linting rule and fix issues (#8587) 2022-10-16 23:58:24 +02:00
a939c11d89 test: add test for map stop (#8369) (#8581) 2022-10-16 19:17:22 +02:00
7b9bfaacd5 Fixes event target of popupopen event and adds test (#8571) 2022-10-15 22:42:16 +02:00
63695655fe Split ESLint config and clean it up (#8563) 2022-10-14 13:32:58 +02:00
1626179f30 Expand layers control on Enter keydown (#8556) 2022-10-13 18:31:02 +02:00
2daebbb439 Remove Internet Explorer from browser detection (#8559) 2022-10-13 11:41:13 +02:00
bf20569dce Add Windows and MacOS to the testing matrix (#8540) 2022-10-09 16:32:17 +02:00
3cb07e4577 Speed up TileLayer.setUrl test (251ms to 13ms) (#8546) 2022-10-09 11:33:20 +03:00
d69c7fe9de Speed up tests relating to focusing on Marker (#8545) 2022-10-09 11:32:50 +03:00
f856bed24c Speed up tests relating to containerPoint / layerPoint methods (#8544) 2022-10-09 11:32:21 +03:00
4cbd3610cd Alternate fix for PopUp keepInView recursion and speed up associated test (#8520) 2022-10-08 19:17:40 +02:00
3836242dd7 closes #8366: panBy() test (#8420)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2022-10-08 19:04:42 +02:00
12ea803762 Remove the long-deprecated L.Mixin.Events and _flat (#8537) 2022-10-07 19:26:16 +03:00
2eb6240ae7 Fix intermittent wobble when setMaxBounds(map.getBounds()) (#8534) 2022-10-06 20:01:32 +03:00
8ae526bab8 Remove usage of global L and safeguard against it (#8536) 2022-10-06 19:57:40 +03:00
0877196c6a Fix marker popup location (#8523)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-10-04 16:59:52 +03:00
a54a308983 Speed up tests Map.ScrollWheelZoomSpec and Map.DoubleClickZoomSpec (#8519) 2022-10-04 12:38:27 +03:00
0645437097 Speed up PathSpec's "Add layer inside move handler" test: 611ms to 5ms (122x faster) (#8518) 2022-10-04 07:56:47 +03:00
579c90d271 Check if getElement() is undefined before adding focus listener (Canvas) (#8498) 2022-10-03 17:59:58 +03:00
00416a546f Add getWheelPxFactor and fix test changes the option 'wheelPxPerZoomLevel' for mac (#8512)
Co-authored-by: Volodymyr Agafonkin <agafonkin@gmail.com>
2022-10-03 14:16:07 +03:00
bed09ae851 Cover Map Locate with Unit Tests (#8424) 2022-10-02 09:37:22 +02:00