Packages

mapbox-gl

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

Your version

3.9.0

18 Dec 2024Where it was published

3.34.2 is the newest release of 3.x.

In short

1 breaking10 new7 fixed

  • breaking

    Rename featureset property to target in addInteraction and queryRenderedFeatures options.

Release note

Breaking changes

  • breaking

    Rename featureset property to target in addInteraction and queryRenderedFeatures options.

Features and improvements

  • Add experimental vector icons support.

  • Add experimental precipitation support through snow and rain style properties.

  • Add experimental features for interactive indoor maps.

  • Add to-hsla expression.

  • Add *-use-theme property to override the color theme for specific layers.

  • Add support for color-theme overrides in imports.

  • Add per-feature mouseenter, mouseover, mouseleave, and mouseout events for addInteraction.

  • Enable mixing featuresets and layers in the Map#queryRenderedFeatures.

  • Improve landmark rendering performance.

  • The clip layer is now stable and no longer marked experimental.

Bug fixes

  • Fix crash on devices with PowerVR GPUs.

  • Fix dark shade of fill-extrusion buildings caused by specific light directions.

  • Fix double shadowing on lines at ground level.

  • Fix shadow acne from 3D structures close to the ground.

  • Fix update of state-dependent features during brightness changes.

  • Fix an edge case with fill extrusions around tile borders not being updated correctly on terrain load.

  • Fix a race condition where using line-z-offset would sometimes break layer rendering order.