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
5 new11 fixed1 internal
Release note
Features and improvements
Improve
geojsonSource.setData(...)performance in SafariAdd
map.getTerrain()methodAdd
showTerrainWireframemap debug option for displaying terrain wireframeDocument the default limit and offset of
geojsonSource.getClusterLeaves(...)(#10403) (h/t henk23)(Development) Update dev environment to native ES modules to support Node 14+
Bug fixes
Fix
map.getBounds()to return the inset bounds when map padding is setSupport flat roofs for fill-extrusions when using custom data sources with terrain
Fix flickering accuracy circle in
GeolocateControl. (#10334) (h/t anderswi)Show Mapbox logo if no style is provided for the map
Switch to using alphabetic baseline for locally-rendered glyphs to avoid misalignment on fonts with large ascenders/descenders.
Fix incorrect diffing of styles when using raster DEM tile sources
Fix
queryRenderedFeatures(...)for fill-extrusions partly behind the cameraFix artifacts caused by negative terrain elevation
Reset WebGL culling state before drawing custom layers
Fix DOM event coordinates for scaled containers (#10096) (h/t kawsndriy)
Fix
collectResourceTimingerrors