mapbox-gl
3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed
3.34.2 is the newest release of 3.x.
In short
2 breaking4 new15 fixed1 internal
- breaking
interpolateexpression will interpolate between non-alpha-premultiplied colors. The change might affectraster-particle-color,line-gradient, andheatmap-color. - breaking
rgbexpression will return non-premultiplied-alpha color.
Release note
Breaking changes
- breaking
interpolateexpression will interpolate between non-alpha-premultiplied colors. The change might affectraster-particle-color,line-gradient, andheatmap-color. - breaking
rgbexpression will return non-premultiplied-alpha color.
Features and improvements
Add the
["worldview"]expression, which returns the currentworldviewof the map.Add
model-translationsupport for batched model layers.Improve indoor level interaction.
Add support of gradient transforms in the fill style of vector icons.
Bug fixes
Fix querying and styling issues with multiple model layers referencing the same source.
Fix
mapbox-gl-rtl-textv0.3.0 plugin not loading in certain configurations.Fix icons with
text-variable-anchordisappearing.Fix minor distortions on vector icons in some cases.
Fix zooming over terrain with negative altitude values.
Fix interactions to not throw on
mouseleavewithoutmouseenter.Fix shadow rendering issues on underground structures.
Fix striping artifacts when rendering shadows on some GPU configurations.
Fix errors when viewing a style with filtered model layers.
Fix parsing of
color-use-themeproperty of 3D lights.Fix feature-dependent
configexpressions (h/t @brncsk) #13453.Fix reset of the indoor floorplan selection after moving the camera.
Fix excessive rerendering of the map after
setStylewith the same URL of an import.Fix source reloading during mercator-globe transition with terrain.
Fix color of semi-transparent vector icons.