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
4 new7 fixed
Release note
Features ✨ and improvements
Support draping over terrain and globe in CustomLayer API
Improve the rendering performance of terrain slightly by reducing its GPU memory footprint.
Add methods for changing a raster tile source dynamically (e.g.
setTiles,setUrl).
Bug fixes
Fix
line-border-colorwhen used withline-trim-offsetFix potential infinite loop when calling
fitBoundswith globe projectionFix
map.getBounds()returning incorrect bounds with adaptive projections.Introduce skirts for terrain globe mode
Fix blur on draped lines while zoom-in
Fix map pan speed while pinching in
Fix negative-width diacritics handling
Fixes
undefined is not an objectincoalesceChanges(#12497) (h/t nick-romano)