Skip to content

v1.8.0

Compare
Choose a tag to compare
@kkaefer kkaefer released this 20 Feb 11:50

✨ Features and improvements

  • Reduce size of line atlas by removing unused channels (#9232)
  • Prevent empty buffers from being created for debug data when unused (#9237)
  • 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 (#8975)

🐞 Bug fixes

  • line-dasharray is now ignored correctly when line-pattern is set (#9189)
  • Fix line distances breaking gradient across tile boundaries (#9220)
  • Fix a bug where lines with duplicate endpoints could disappear at zoom 18+ (#9218)
  • Fix a bug where Ctrl-click to drag rotate the map was disabled if the Alt, Cmd or Windows key is also pressed (#9203)
  • Pass errors to getClusterExpansionZoom, getClusterChildren, and getClusterLeaves callbacks (#9251)
  • Fix a rendering performance regression (#9261)
  • Fix visual artifact for line-dasharray (#9246)
  • 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 (#9291)
  • Fix promoteId for line layers (#9210)
  • Improve accuracy of distance calculations (#9202) (h/t Meekohi)