Packages

mapbox-gl

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

Your version

1.2.0

29 Jul 2019Where it was published

1.13.3 is the newest release of 1.x.

In short

1 breaking7 new7 fixed

  • breaking

    Fix changes to text-variable-anchor, such that previous anchor positions would take precedence only if they are present in the updated array (considered a bug fix, but is technically a breaking change from previous behavior)

Release note

Features and improvements

  • Add *-sort-key layout property for circle, fill, and line layers, to dictate which features appear above others within a single layer

  • Add ability to instantiate maps with specific access tokens

  • Accommodate prefers-reduced-motion settings in browser

  • Add Map visualizePitch option that tilts the compass as the map pitches (#8208, fixed by #8296) (h/t pakastin)

  • Make source options take precedence over TileJSON (#8232) (h/t jingsam)

  • Make requirements for text offset properties more precise

  • Expose convertFilter API in the style specification (#8493

Bug fixes

  • breaking

    Fix changes to text-variable-anchor, such that previous anchor positions would take precedence only if they are present in the updated array (considered a bug fix, but is technically a breaking change from previous behavior)

  • Fix rendering of opaque pass layers over heatmap and fill-extrusion layers

  • Fix rendering of extraneous vertical line in vector tiles (#8477, fixed by #8479)

  • Turn off 'move' event listeners when removing a marker

  • Fix class toggling on navigation control for IE (#8495) (h/t cs09g)

  • Fix background rotation hovering on geolocate control (#8367) (h/t GuillaumeGomez)

  • Fix error in click events on markers where startPos is not defined (#8462) (h/t @msbarry)

  • Fix malformed urls when using custom baseAPIURL of a certain form