Packages

mapbox-gl

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

Your version

3.16.0

23 Oct 2025Where it was published

3.34.2 is the newest release of 3.x.

In short

6 new10 fixed

Release note

Features and improvements

  • Introduce experimental Appearances API for managing layer styling based on feature state.

  • Add Map setLayerProperty that combines setLayoutProperty & setPaintProperty into one method for convenience.

  • Add support for node/material overrides & other improvements to model source and layer.

  • Various improvements & fixes for upcoming 3D features (indoor, procedural buildings & elevated roads).

  • Add response headers to the sourcedata event data.

  • Improve TypeScript types for style specification.

Bug fixes

  • Fix raster particle layer not rendering correctly on styles with emissive light.

  • Fix icons of different sizes rendering incorrectly in appearances.

  • Fix worldview filtering with dynamic expressions.

  • Improve accuracy of queryRenderedFeatures for model layers.

  • Fix a bug with heatmap sometimes disappearing after switching projection.

  • Fix rendering of model layer with vector source on globe projection.

  • Fix flickering of fill-extrusion buildings when using clip layers.

  • Fix inaccuracies in 3D model query intersection.

  • Fix the passing of GeolocationPosition to geolocate event listeners.

  • Fix the placement of line-aligned text with a non-default scaleFactor.