Skip to content

v1.2.0

Compare
Choose a tag to compare
@peterqliu peterqliu released this 29 Jul 22:49

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(#8467)
  • Add ability to instantiate maps with specific access tokens (#8364)
  • Accommodate prefers-reduced-motion settings in browser (#8494)
  • 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 (#8418)
  • Expose convertFilter API in the style specification (#8493

Bug fixes

  • 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) (#8473)
  • Fix rendering of opaque pass layers over heatmap and fill-extrusion layers (#8440)
  • Fix rendering of extraneous vertical line in vector tiles (#8477, fixed by #8479)
  • Turn off 'move' event listeners when removing a marker (#8465)
  • 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 (#8466)