mapbox-gl
3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed
0.54.1 is the newest release of 0.51.x.
In short
9 new9 fixed2 changed
Release note
Features and improvements
Add initial bounds as map constructor option (#5518) (h/t stepankuzmin)
Improve performance on machines with > 8 cores (#7407, fixed by #7430)
Add
MercatorCoordinatetypeAllow browser-native
contextmenuto be enabled (#2301, fixed by #7369)Add an unminified production build to the NPM package
Add support for
LngLatconversion from{lat, lon}(#7507) (h/t bfrengley)Add tooltips for navigation controls
Show attribution only for used sources
Add telemetry event to log map loads
Tighten style validation
Disallow expressions as stop values
Disallow
feature-stateexpressions in filters
Bug fixes
Fix for GeoJSON geometries not working when coincident with tile boundaries(#7436, fixed by #7448)
Fix depth buffer-related rendering issues on some Android devices.
Fix positioning of compact attribution strings (#7444, #7445, and #7391)
Fix an issue with removing markers in mouse event callbacks (#7442) (h/t vbud)
Remove controls before destroying a map
Fix display of Scale control values < 1 (#7469) (h/t MichaelHedman)
Fix an error when using location
hashwithin iframes in IE11Fix depth mode usage in custom layers (#7432) (h/t markusjohnsson)
Fix an issue with shaky sprite images during scroll zooms