Packages

mapbox-gl

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

Your version

2.13.0

21 Feb 2023Where it was published

2.15.0 is the newest release of 2.x.

In short

4 new7 fixed

Release note

Features ✨ and improvements

  • Support draping over terrain and globe in CustomLayer API

  • Improve the rendering performance of terrain slightly by reducing its GPU memory footprint.

  • Add methods for changing a raster tile source dynamically (e.g. setTiles, setUrl).

Bug fixes

  • Fix line-border-color when used with line-trim-offset

  • Fix potential infinite loop when calling fitBounds with globe projection

  • Fix map.getBounds() returning incorrect bounds with adaptive projections.

  • Introduce skirts for terrain globe mode

  • Fix blur on draped lines while zoom-in

  • Fix map pan speed while pinching in

  • Fix negative-width diacritics handling

  • Fixes undefined is not an object in coalesceChanges (#12497) (h/t nick-romano)