Packages

mapbox-gl

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

Your version

2.12.0

4 Jan 2023Where it was published

2.15.0 is the newest release of 2.x.

In short

5 new5 fixed

Release note

Features ✨ and improvements

  • Improve performance of patterns and line dashes and improve their appearance when zooming.

  • Improve performance of text and icon placement.

  • Improve performance of loading terrain data

  • Allow zooming towards terrain at a safe distance without pitching the camera

  • Allow for pitch override in cameraForBounds, fitBounds and fitScreenCoordinates camera APIs.

Bug fixes

  • Fix getBounds when used around the poles with a globe projection.

  • Fix incorrect transition flag in *-pattern and line-dasharray properties

  • Fix symbols filtering when using center-to-distance along with terrain.

  • Fix fog rendering artifact on lower resolution terrain tiles

  • Fix an issue where Geolocate control would throw an error if it's removed before determining geolocation support (#12332) (h/t tmcw)