✨ Features and improvements
- Add
touchZoomRotate.setZoomRate()andtouchZoomRotate.setZoomThreshold()to customize touch zoom speed and pinch sensitivity (#7271) - Improve ability to communicate with imported scripts in workers and use
makeRequestin workres as well (#7451) (by @HarelM) - Allow
opacityandopacityWhenCoveredinMarkerandMarkerOptionsto acceptnumberin addition tostring, and addmaplibregl-marker-coveredCSS class toMarkerelement when covered by 3D terrain or a globe (#7433) (by @YuChunTsao) - perf: add a bench for terrain rendering and fix
_demMatrixCachelookup being wasted cycles by actually using the cache (#7400) (by @CommanderStorm)
🐞 Bug fixes
- Fix polygon text label placement drifting far from center for convex polygons at high zoom due to coordinate rounding in geojson-vt (#7380) (by @CommanderStorm)
- Ensure that a successful ArrayBuffer response from a custom protocol that is null/undefined is set to an empty ArrayBuffer (#7427) (by @neodescis)
- Fix error in
_contextRestoredwhen map was initialized without a style (#7432) (by @mvanhorn) - Fix issue with the cache used for zoomLevelsToOverscale feature (#7450) (by @HarelM)
- Update stylelint and fix old issues with the CSS (mainly change rgb to use spaces) (#7365) (by @HarelM)