mapbox-gl
3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed
2.15.0 is the newest release of 2.x.
In short
7 new7 fixed
Release note
Features ✨ and improvements
Add new marker styling option
rotationAlignment: 'horizon'allowing marker rotation to match the curvature of the horizon in globe viewImprove panning precision on Globe View and relax constraints on lower zoom levels
Add unit option to number-format expression (#11839) (h/t varna)
Add screen reader alert for cooperative gestures warning message.
Improve rendering performance on globe view
Improve tile loading performance on low zoom levels
Improve globe-mercator transition and map load performance with globe projection
Bug fixes
Fix a bug where
idexpression didn't correctly handle a value of 0Fix precision errors in depth pack/unpack
Fix
cooperativeGesturespreventing panning on mobile while in fullscreen.Fix misplaced raster tiles after toggling
setStylewith a globe projectionFix exception on creating map in an iframe with sandbox attribute.
Fix "improve map" link in the attribution to include location even if map hash is disabled
Fix Chrome console warnings about ignored event cancel on touch interactions (#12121) (h/t jschaf)