mapbox-gl
3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed
0.54.1 is the newest release of 0.52.x.
In short
1 breaking4 new15 fixed
- breaking
Canonicalize tile urls to
mapbox://urls so they can be transformed withconfig.API_URL
Release note
Breaking changes
- breaking
Canonicalize tile urls to
mapbox://urls so they can be transformed withconfig.API_URL
Features and improvements
Add getter and setter for
config.API_URLAllow user to define element other than map container for full screen control
Add validation option to style setters
Add 'idle' event: fires when no further rendering is expected without further interaction.
Bug fixes
Fire error when map.getLayoutProperty references missing layer (#7537, fixed by #7539)
Fix shaky sprites when zooming with scrolling
Fix layout problems in attribution control (#7608) (h/t lucaswoj)
Fixes resetting map's pitch to 0 if initial bounds is set (#7617) (h/t stepankuzmin)
Fix occasional failure to load images after multiple image request abortions #7641
Update repo url to correct one (#7486) (h/t nicholas-l)
Fix bug where symbols were sometimes not rendered immediately
Fix bug where cameraForBounds returns incorrect CameraOptions with asymmetrical padding/offset (#7517, fixed by #7518) (h/t mike-marcacci)
Use diff+patch approach to map.setStyle when the parameter is a URL (#4025, fixed by #7562)
Begin touch zoom immediately when rotation disabled (#7582) (h/t msbarry)
Fix symbol rendering under opaque fill layers
Fix shaking by aligning raster sources to pixel grid only when map is idle (7426)
Fix raster layers in Edge 18 by disabling it's incomplete WebP support (7687)
Fix memory leak in hillshade layer (7691)
Fix disappearing custom layers (7711)