Packages

mapbox-gl

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

Your version

1.5.0

25 Oct 2019Where it was published

1.13.3 is the newest release of 1.x.

In short

6 new6 fixed

Release note

Features

  • Add disabled icon to GeolocateControl if user denies geolocation permission. #8871)

  • Add outofmaxbounds event to GeolocateControl, which is emitted when the user is outside of map.maxBounds (#8756) (h/t MoradiDavijani)

  • Add mapboxgl.getRTLTextPluginStatus() to query the current status of the rtl-text-plugin to make it easier to allow clearing the plugin when necessary. (ref. #7869)

  • Allow hash Map option to be set as a string, which sets the map hash in the url to a custom query parameter. (#8603) (h/t SebCorbin)

Improvements

  • Fade symbols faster when zooming out quickly, reducing overlap.

  • Reduce memory usage for vector tiles that contain long strings in feature properties.

Bug Fixes

  • Fix text-variable-anchor not trying multiple placements during collision with icons when icon-text-fit is enabled.

  • Fix icon-text-fit not properly respecting vertical labels.

  • Fix opacity interpolation for composition expressions.

  • Fix rotate and pitch events being fired at the same time.

  • Fix memory leaks that occured during tile loading and map removal.(#8813 and #8850)

  • Fix web-worker transfer of ArrayBuffers in environments where instanceof ArrayBuffer fails.(e.g cypress)