v2.10.0
版本发布时间: 2022-08-23 23:53:18
mapbox/mapbox-gl-js最新发布版本:v3.7.0(2024-09-27 17:16:45)
Features ✨ and improvements 🏁
- Add new marker styling option
rotationAlignment: 'horizon'
allowing marker rotation to match the curvature of the horizon in globe view (#11894) - Improve panning precision on Globe View and relax constraints on lower zoom levels (#12114)
- Add unit option to number-format expression (#11839) (h/t varna)
- Add screen reader alert for cooperative gestures warning message. (#12058)
- Improve rendering performance on globe view (#12050)
- Improve tile loading performance on low zoom levels (#12061)
- Improve globe-mercator transition and map load performance with globe projection (#12039)
Bug fixes 🐞
- Fix a bug where
id
expression didn't correctly handle a value of 0 (#12000) - Fix precision errors in depth pack/unpack (#12005)
- Fix
cooperativeGestures
preventing panning on mobile while in fullscreen. (#12058) - Fix misplaced raster tiles after toggling
setStyle
with a globe projection (#12049) - Fix exception on creating map in an iframe with sandbox attribute. (#12101)
- Fix "improve map" link in the attribution to include location even if map hash is disabled (#12122)
- Fix Chrome console warnings about ignored event cancel on touch interactions (#12121) (h/t jschaf)