mapbox-gl
3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed
Upgrading mapbox-gl From 1.9.1 to 1.10.0
1 release in betweenevery note read
Security
- 1.10.0
Upgrade minimist to ^1.2.5 to get fix for security issue CVE-2020-7598 upstream (#9425, fixed by #9425) (h/t watson)
Release by release
- security
Upgrade minimist to ^1.2.5 to get fix for security issue CVE-2020-7598 upstream (#9425, fixed by #9425) (h/t watson)
- new
Add
mapboxgl.prewarm()andmapboxgl.clearPrewarmedResources()methods to allow developers to optimize load times for their maps - new
- new
Correctly set RTL text plugin status if the plugin URL could not be loaded. This allows developers to add retry logic on network errors when loading the plugin
- security
3 other lines we could not sort, mostly version bumps
- 1.10.0
It's now possible to interact with multiple maps on the same page at the same time
- 1.10.0
A camera change can no longer be prevented by disabling the interaction handler within the camera change event. Selectively prevent camera changes by listening to the
mousedownortouchstartmap event and calling .preventDefault() - 1.10.0
Undocumented properties on the camera change events fired by the
doubleClickZoomhandler have been removed