✨ Features
- Add disabled icon to GeolocateControl if user denies geolocation permission. #8871)
- Add
outofmaxboundsevent to GeolocateControl, which is emitted when the user is outside ofmap.maxBounds(#8756) (h/t MoradiDavijani) - Add
mapboxgl.getRTLTextPluginStatus()to query the current status of thertl-text-pluginto make it easier to allow clearing the plugin when necessary. (ref. #7869) (#8864) - Allow
hashMap 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. (#8628)
- Reduce memory usage for vector tiles that contain long strings in feature properties. ( #8863)
🐞 Bug Fixes
- Fix
text-variable-anchornot trying multiple placements during collision with icons whenicon-text-fitis enabled. (#8803) - Fix
icon-text-fitnot properly respecting vertical labels. (#8835) - Fix opacity interpolation for composition expressions. (#8818)
- Fix rotate and pitch events being fired at the same time. (#8872)
- Fix memory leaks that occured during tile loading and map removal.(#8813 and #8850)