mapbox-gl
3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed
0.54.1 is the newest release of 0.44.x.
In short
1 breaking7 new14 fixed
- breaking
Release note
Breaking changes
- breaking
Due to bug fixes #6005 and #6029,
DragPanHandler,DragRotateHandler, andScrollZoomHandlernow fire map movement events (move,rotate,zoom,pitch) only once per render frame, rather than once per mouse/touch event. (See also issue #6047.)
Features and improvements
The CSP policy of a page using mapbox-gl-js no longer needs to include
script-src 'unsafe-eval'#559Add
LngLatBounds#isEmpty()method #5917Coalesce GeoJSON "loadData" requests. This prevents high-frequency calls to setData from building up a backlog. #5902
Updated to flow 0.62.0 #5923
Make compass and zoom controls optional (#5348) (h/t @matijs)
Add
collectResourceTimingoption to the enable collection of Resource Timing data for requests that are made from Web Workers.Improve user location dot appearance across browsers (#5498) (h/t @jasonbarry)
Bug fixes
Fix error triggered by
==and!=expressions #5947Image sources honor
renderWorldCopies#5932Fix transitions to default fill-outline-color #5953
Fix transitions for light properties #5982
Fix minor symbol collisions on pitched maps #5913
Fix bug wherein
GeoJSONSource#setData()caused labels to fade out and back inFix bug that could cause incorrect collisions for labels placed very near to each other at low zoom levels
Fix bug causing
moveevents to be fired out of sync with actual map movementsFix bug wherein
Mapdid not firemouseoverevents (#6000] (h/t @jay-manday)Fix bug causing blurry rendering of raster tiles
Fix potential memory leak caused by removing layers
Fix bug causing attribution icon to appear incorrectly in compact maps not using Mapbox data
Fix positioning of default marker element (#6012) (h/t @andrewharvey)