Packages

mapbox-gl

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

Your version

3.15.0

10 Sep 2025Where it was published

3.34.2 is the newest release of 3.x.

In short

10 new12 fixed

Release note

Features and improvements

  • Add queryRasterValue method for querying values in raster-array layers.

  • Add icon-image-use-theme property.

  • Add support for Mapbox vector tiles with precalculated line metrics (for line gradients).

  • Improve HD Roads loading performance.

  • Optimize applying LUT when updating images at runtime.

  • Improve TypeScript types in Style Spec validation methods.

  • Slightly improve hsla expression performance.

  • Optimize applying LUT for patterns.

  • Round queryRasterValue results to 12 decimal digits to fix precision issues.

  • Improvements on typing and testing.

Bug fixes

  • Fix an issue with refreshing expired raster array tiles.

  • Fix an error on GeoJSON with "Infinity" and similar ids.

  • Fix GL_INVALID_VALUE console warning on Mapbox Satellite Standard and a few other styles.

  • Fix model layer positioning during globe to mercator transition.

  • Fix an issue with incorrect transparency for some icons with LUT applied.

  • Fix an issue where updating *-occlusion-opacity properties didn't have any effect.

  • Fix an issue with MRT layers throwing an error when reloading.

  • Fix occlusion layer ordering.

  • Fix an issue where using too many data-driven properties on the symbol layer could break the map.

  • Fix gradients and interpolations with fully-transparent colors.

  • Fix model layer density reduction.

  • Fix performance regression on styles that use feature-state expressions.