github maplibre/maplibre-gl-js v6.14.0

4 hours ago

✨ Features and improvements

  • Allow calling new Map({ globalState: { ... }}) and setStyle({ 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: ScaleControl throwing when its sample points miss the globe (#8720) (by @SatvikMishra08)
  • Fix a rendering crash when removeFeatureState removes 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: map being drawn too large while the globe transitions to mercator (#8714) (by @heikki)
  • Fix map.resize(eventData, false) constraining the camera with the vertical-perspective projection (#8695) (by @birkskyum)
  • Fix an uncaught error when setStyle is 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 flyTo dropping the offset and around options under prefers-reduced-motion, so a reduced-motion fly lands at the same camera as the animated one (#8730) (by @maartenla)
  • Fix load and idle never firing when the last tile fails with a status other than 404 (#8733) (by @johncarmack1984)

Don't miss a new maplibre-gl-js release

NewReleases is sending notifications on new releases.