✨ Features and improvements
- Allow calling
new Map({ globalState: { ... }})andsetStyle({ globalState: ... })to provide an initial global state for the map style, overriding the global state defaults from the style (#7632) (by @hiddewie)
🐞 Bug fixes
- fix:
ScaleControlthrowing when its sample points miss the globe (#8720) (by @SatvikMishra08) - Fix a rendering crash when
removeFeatureStateremoves a property before feature state is set (#8715) (by @yeomin4242) - Work around blank, unresponsive maps on affected iPadOS 16 Safari devices (#8364) (by @samuelsmarason)
- Fix circles with
circle-pitch-alignment: mapbeing drawn too large while the globe transitions to mercator (#8714) (by @heikki) - Fix
map.resize(eventData, false)constraining the camera with thevertical-perspectiveprojection (#8695) (by @birkskyum) - Fix an uncaught error when
setStyleis called while the WebGL context is lost, since 6.12.0 (#8693) (by @birkskyum) - Fix the view sliding hundreds of meters off the center when terrain is switched on during a gesture (#8688) (by @johncarmack1984)
- Fix the camera jumping back at the end of a pan, flick or rotation into terrain (#8692) (by @johncarmack1984)
- Fix
flyTodropping theoffsetandaroundoptions underprefers-reduced-motion, so a reduced-motion fly lands at the same camera as the animated one (#8730) (by @maartenla) - Fix
loadandidlenever firing when the last tile fails with a status other than 404 (#8733) (by @johncarmack1984)