v6.6.0
Added 1
- Add support for `symbol-height-offset` and `symbol-height-anchor` layout properties, which raise icons and text above the map, with `symbol-height-anchor` selecting whether the offset is measured from the terrain surface (ground, the default) or from the zero elevation datum (absolute)
Changed 1
- Pick terrain coordinates with a CPU raycast against the DEM instead of a coords framebuffer readback, achieving full DEM resolution, eliminating GPU stalls on pointer events, and reducing GPU memory usage by approximately 4MB
Fixed 4
- Fix labels briefly appearing too large when zooming out several levels at once with a zoom-dependent `text-size` or `icon-size`
- 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
- Fix the style's `center`, `zoom`, `bearing`, `pitch` and `roll` being ignored when the map was created with a `minZoom` or `minPitch` option
- Upload the `color-relief` DEM texture once per tile instead of on every frame
From MapLibre GL JS
✨ Features and improvements
- Add support for
symbol-height-offsetandsymbol-height-anchorlayout properties, which raise icons and text above the map.symbol-height-anchorselects 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,pitchandrollbeing ignored when the map was created with aminZoomorminPitchoption, since applying those limits marked the transform as modified (#5932) - Upload the
color-reliefDEM texture once per tile instead of on every frame (#8209)