Packages

mapbox-gl

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

Your version

2.15.0

25 May 2023Where it was published

In short

4 new2 fixed

Release note

Features ✨ and improvements

  • Improve performance of symbol layers with identical or no text. Eliminate stuttering when zooming on maps with many identical symbols.

  • Improve performance of clustered sources: 20% faster loading & 40–60% less memory overhead. Improve performance of symbol collisions.

  • Add respectPrefersReducedMotion map option

  • Add the isPointOnSurface map method to determine if the given point is located on a visible map surface.

Bug fixes

  • Fix inconsistent spacing in the Scale control (#12644) (h/t kathirgounder)

  • Fix tiles preloading when a source is not yet loaded