Packages

mapbox-gl

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

Your version

1.8.0

20 Feb 2020Where it was published

1.13.3 is the newest release of 1.x.

In short

5 new10 fixed

Release note

Features and improvements

  • Reduce size of line atlas by removing unused channels

  • Prevent empty buffers from being created for debug data when unused

  • Add space between distance and unit in scale control (#9276) (h/t gely) and (#9284) (h/t pakastin)

  • Add a showAccuracyCircle option to GeolocateControl that shows the accuracy of the user's location as a transparent circle. Mapbox GL JS will show this circle by default. (#9253) (h/t Meekohi)

  • Implemented a new tile coverage algorithm to enable level-of-detail support in a future release

Bug fixes

  • line-dasharray is now ignored correctly when line-pattern is set

  • Fix line distances breaking gradient across tile boundaries

  • Fix a bug where lines with duplicate endpoints could disappear at zoom 18+

  • Fix a bug where Ctrl-click to drag rotate the map was disabled if the Alt, Cmd or Windows key is also pressed

  • Pass errors to getClusterExpansionZoom, getClusterChildren, and getClusterLeaves callbacks

  • Fix a rendering performance regression

  • Fix visual artifact for line-dasharray

  • Fixed a bug in the GeolocateControl which resulted in an error when trackUserLocation was false and the control was removed before the Geolocation API had returned a location

  • Fix promoteId for line layers

  • Improve accuracy of distance calculations (#9202) (h/t Meekohi)