mapbox-gl
3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed
0.54.1 is the newest release of 0.29.x.
In short
14 new4 faster7 fixed
Release note
New Features
Add support for property functions for many style properties on line layers #3033
Make
Map#setStylesmoothly transition to the new style #3621Add
styledata,sourcedata,styledataloading, andsourcedataloadingeventsAdd
isSourceLoadedandsourceproperties toMapDataEvent#3590Remove "max zoom" cap of 20 #3683
Add
circle-stroke-*style properties #3672Add a more helpful error message when the specified
containerelement doesn't exist #3719Add
watchPositionoption toGeolocateControl#3739Add
positionOptionsoption toGeolocateControl#3739Add
aria-labelto map canvas #3782Adjust multipoint symbol rendering behavior #3763
Add support for property functions for
icon-offset#3791Improved antialiasing on pitched lines #3790
Allow attribution control to collapse to an ⓘ button on smaller screens #3783
Improve line breaking algorithm #3743
Performance Improvements
Fix memory leak when calling
Map#removeSource#3602Reduce bundle size by adding custom build of
gl-matrix#3734Improve performance of projection code #3721
Improve performance of style function evaluation #3816
Bug fixes
Fix exception thrown when using
line-colorproperty functions #3639Fix exception thrown when removing a layer and then adding another layer with the same id but different type #3655
Fix exception thrown when passing a single point to
Map#fitBounds#3655Fix exception thrown occasionally during rapid map mutations #3681
Fix rendering defects on pitch=0 on some systems #3740
Fix unnecessary CPU usage when displaying a raster layer #3764
Fix bug causing sprite after
Map#setStyle#3829Fix bug preventing
Mapfrom emitting acontextmenuevent on Windows browsers #3822