fix(deps): update dependency leaflet to v1.9.4 #529
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.8.0->1.9.41.7.11->1.9.211.9.3->1.9.21Release Notes
Leaflet/Leaflet (leaflet)
v1.9.4Compare Source
After two and a half years of hard work, we’re thrilled to announce the first alpha release of Leaflet 2.0!
This release marks a major modernization of the Leaflet codebase. We've dropped support for Internet Explorer, removed legacy methods and polyfills, adopted modern standards like Pointer Events, and now publish Leaflet as an ESM module. The global
Lis no longer part of the core package (though it’s still available in the bundled versionleaflet-global.jsfor backward compatibility).For more information checkout the blog post: https://leafletjs.com/2025/05/18/leaflet-2.0.0-alpha.html
What's New in Leaflet 2.0
MouseandTouchevents toPointerEventsMigration
L.marker(latlng)➜new Marker(latlng)<script>tag tomodule:<script type='module'>Lwith explicit imports from the Leaflet package:import { Marker } from 'leaflet'importmap: https://leafletjs.com/examples/quick-start/module-script, assign them to thewindowobject (Not recommended):window.map = mapOld implementation
New implementation
Module
Global Script
Need Legacy Support?
Check out this polyfill package to help ease the transition for legacy apps: Leaflet V1 Polyfill
v1.9.3Compare Source
🙌 Accessibility
🐞 Bug fixes
Lglobal (#8536 by @mourner)setMaxBounds(map.getBounds())(#8534 by @rjackson)latLngsToCoords()does not return references passed to it (#7344 by @marlo22)worldCopyJump()behavior is consistent when using a keyboard (#8562 by @Falke-Design)popupopenevent (#8571 by @Belair34)Popup(#8520 by @rjackson)position: stickyfor map container (#8550 by @tmiaa)v1.9.2Compare Source
🐞 Bug fixes
leaflet/dist/leaflet-src.esm.jsexplicitly instead to take advantage; ESM by default will come in v2) (#8493 by @jonkoops)🧪 Tests
📝 Docs
Boundsequalsparameters in docs (#8500 by @Falke-Design)v1.9.1Compare Source
Eventslistensnot propagating to parent objects, in particular fixing compatibility with Leaflet.markercluster plugin (#8211 by @Falke-Design)v1.9.0Compare Source
color-adjusttoprint-color-adjust(#8211 by @Malvoz)❇️ API changes
contentandlatLngoptions toPopup/Tooltipconstructors (#7783 by @Falke-Design)Boundsto have the same functions asLatLngBounds(#7882 by @Falke-Design)✨ Improvements
getCenter()calculation and move it toPolyUtil/LineUtil(#7603 by @Falke-Design)maxBounds(#8168)Events.listensto search for specific function (#8161 by @Falke-Design)noMoveStartoption topanTo(#6685 by @Chivano)FeatureCollectionhandling togeometryToLayer(#8163 by @Falke-Design)🙌 Accessibility
Tooltipaccessibility (focus and voice over) (#8247 by @alekzvik)role="presentation"from image tiles (#8172 by @Malvoz)🐞 Bug fixes
map._moveoverrequestAnimFrame(#8328 by @AMDvsTMD)_isClickDisabledto not throw no error if parent is removed from DOM (#8288 by @Falke-Design)DomEvent.DoubleTapto ignore clicks on<label>s with aforattribute (#8227 by @IvanSanchez)once()twice if same event is fired insideonce(#8190 by @Falke-Design)map.getCenter()returning a mutable object (#8167)min/maxZoomwhen used in combination withdetectRetina(#7328 by @bozdoz)📝 Docs
anchortodata-anchor(#8174 by @KnightJam1)🔧 Workflow
eslint-plugin-script-tags(#8331 by @jonkoops)🧪 Tests
map.latLngToLayerPointmethod (#8407 by @kreloaded)map.panTo(#8390 by @anurag-dhamala)map.containerPointToLatLngandmap.latLngToContainerPoint(#8384 by @abhi3315)Layer._addZoomLimit(#8037 by @zishiwu123)Map(#8206 by @stephenspol)CircleMarker._containsPoint(#8340 by @gernhard1337)Configuration
📅 Schedule: Branch creation - "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.