github maplibre/maplibre-gl-js v6.21.0

41 minutes ago

✨ Features and improvements

  • Support pitch and bearing in layer filter expressions (#9145) (by @HarelM)
  • Support fill-rounded-corner-distance for rounded corners in fill layers (#9157) (by @Hamza-73)
  • Speed up loading of tiles with large line, fill or circle layers (#9110) (by @DoFabien)

🐞 Bug fixes

  • Fire load and idle when the last tiles answer 404 (#9198) (by @arjxn-py)
  • Restore a style that was still loading when the WebGL context was lost (#9107) (by @Syogo-Suganoya)
  • Name the glyph range URL when its response can't be parsed (#9206) (by @KhadeerBasha1232)
  • Return MLT int64 and uint64 properties as numbers (#9205) (by @zarechnyy)
  • Fix the camera going into the terrain on a globe and in vertical-perspective (#8719) (by @johncarmack1984)
  • Fill gaps with cached parent tiles while zooming out (#9090) (by @hambro)
  • Restore position and error data on GeolocateControl events (#9181) (by @tm-333)
  • Evaluate queryRenderedFeatures paint and layout with feature geometry (#9139) (by @mvanhorn)
  • Keep and merge all parts of MultiLineStrings for line labels (#9104) (by @ciscorn)
  • Export TextFit as a string literal union (#9193) (by @KhadeerBasha1232)
  • Exit fullscreen when FullscreenControl is removed while the map is fullscreen (#9101) (by @KhadeerBasha1232)
  • Fix a map removed after a WebGL context loss staying in memory (#9175) (by @apierini-source)
  • Export ResourceType as a string literal union (#9123) (by @Goldloli)
  • Keep getStyle().light in sync after setLight (#9142) (by @Yasser-Ameur)
  • Fix a tile failing to load when a data-driven line-dasharray falls back to its default (#9121) (by @Jamarlli)
  • Stop a tile reload timer from keeping a removed map alive (#8969) (by @lazerg)
  • Fix updateData throwing and leaving tiles stale when a feature has no coordinates (#9138) (by @HEOJUNFO)
  • Update NavigationControl zoom buttons when setMinZoom or setMaxZoom changes the zoom limits (#9100) (by @KhadeerBasha1232)
  • Fix ["id"] filters not matching string ids promoted with promoteId on GeoJSON sources (#8900) (by @architpai)
  • Align the mercator sky horizon with the ground at high zoom (#9159) (by @birkskyum)
  • Draw terrain fog only once (#9141) (by @birkskyum)

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

NewReleases is sending notifications on new releases.