Packages

mapbox-gl

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

Your version

3.24.0

18 May 2026Where it was published

3.34.2 is the newest release of 3.x.

In short

14 new3 fixed

Release note

Features and improvements

  • Introduce Level of Detail (LOD) support for landmark models, enabling automatic switching between model versions based on camera distance.

  • Support additive blend mode with clamped density by setting the line-blend-additive-clamp property.

  • Improve rendering performance by reducing per-frame matrix allocations.

  • Improve rendering performance via parallel shader compilation on supported devices.

  • Improve rendering performance by advancing shader precompilation.

  • Improve shadow rendering performance.

  • Improve vector icon loading performance.

  • Improve initial load by skipping redundant config-related style layers updates in Web Workers.

  • Improve initial load by rescheduling shader precompilation to occur during browser idle time after the map's idle event.

  • Improve model processing performance.

  • Improve performance and memory footprint by streamlining communication between the main thread and Web Workers.

  • Reduce first-interaction jank by optimizing shader compilation pipeline behavior.

  • Optimize expression parsing performance.

  • Improve an error messaging for the line-trim-offset property without lineMetrics.

Bug fixes

  • Fix LUT to properly work with premultiplied color.

  • Fix a potential memory leak and crash occurring when a map was destroyed.

  • Fix an issue where cross-fragments config values were not correctly updated.