Packages

mapbox-gl

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

Your version

3.12.0

8 May 2025Where it was published

3.34.2 is the newest release of 3.x.

In short

8 new7 fixed

Release note

Features and improvements

  • Add experimental support for rendering 3D road intersections.

  • Add shadow rendering support for elevated lines.

  • Add wrapTileId property to CustomLayerInterface to control whether tile IDs are wrapped across world copies during rendering.

  • Add line-pattern-cross-fade, fill-pattern-cross-fade, and fill-extrusion-pattern-cross-fade properties for smooth transitions between pattern images.

  • Add support for extra_bounds in TileJSON for more fine-grained control over tile requests, particularly when dealing with sparse data coverage.

  • Improve performance by lazy loading 3D models.

  • Slightly improve JS bundle sizes.

  • Various TypeScript improvements.

Bug fixes

  • Fixed an issue where calling setData on symbol layers could cause flickering.

  • Expose CustomSourceInterface TypeScript type that was missing in the public interface.

  • Fix some edge cases related to rendering of elevated structures.

  • Relax line-gradient validation to work not only on GeoJSON, but also on vector tile sources if they have mapbox_clip_start and mapbox_clip_end properties precomputed.

  • Fix styleimagemissing event not firing in certain scenarios.

  • Fix rendering of fully stretchable vector icons.

  • Fix queryRenderedFeatures on Globe at low zoom levels.