github maplibre/maplibre-gl-js v6.6.0

5 hours ago

✨ Features and improvements

  • Add support for symbol-height-offset and symbol-height-anchor layout properties, which raise icons and text above the map. symbol-height-anchor selects whether the offset is measured from the terrain surface (ground, the default) or from the zero elevation datum (absolute) (#7827) (by @HarelM)
  • Pick terrain coordinates with a CPU raycast against the DEM instead of a coords framebuffer readback: full DEM resolution, no GPU stall on pointer events, and about 4MB less GPU memory (#7640) (by @johncarmack1984)

🐞 Bug fixes

  • Fix labels briefly appearing too large when zooming out several levels at once (e.g. a scroll-wheel or pinch fling) with a zoom-dependent text-size/icon-size (#8175) (by @mondsichtung)
  • Fix globe tile selection measuring distances from the ground point below the camera instead of the camera itself, refining some views past the requested zoom and leaving others coarser (#8187) (by @Alchez)
  • Fix the style's center, zoom, bearing, pitch and roll being ignored when the map was created with a minZoom or minPitch option, since applying those limits marked the transform as modified (#5932)
  • Upload the color-relief DEM texture once per tile instead of on every frame (#8209)

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

NewReleases is sending notifications on new releases.