Packages

mapbox-gl

3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed

Your version

3.26.0

9 Jul 2026Where it was published

3.34.2 is the newest release of 3.x.

In short

1 breaking3 new4 fixed

  • breaking

    Remove transition and interpolated flags from the camera-projection style property — enum properties cannot be transitioned, so these flags were incorrect.

Release note

Breaking changes

  • breaking

    Remove transition and interpolated flags from the camera-projection style property — enum properties cannot be transitioned, so these flags were incorrect.

Features and improvements

  • Make published TypeScript declarations self-contained, fixing consumer builds that failed with skipLibCheck: false.

  • Improve terrain raycast accuracy for mouse events, camera fitting, and other pointer interactions.

  • Improve landmark model LOD switching with size-based distance heuristics for better rendering performance.

Bug fixes

  • Fix hd-road-markup elevated lines rendering flat with zero-exaggeration terrain.

  • Fix viewport-y symbol sorting causing a Vertex buffer is not big enough for the draw call error when a symbol bucket had multiple segments.

  • Fix multilinestrings not displaying labels correctly.

  • Fix parametric colors sometimes loading the wrong cached image.