Sourced from maplibre-gl's releases.
v6.9.0
✨ Features and improvements
- Improved support for drawing the letters of Devanagari, Khmer, Burmese and the other complex scripts and also draws Arabic and Hebrew labels correctly without loading a right-to-left text plugin, which deprecates
setRTLTextPluginandgetRTLTextPluginStatus(#8343) (by@HarelM)- Read sprite and image pixels back through an
OffscreenCanvaswhere available, removing a main-thread stall of tens of milliseconds on GPU-accelerated browsers when a sprite loads (#8339) (by@cherenkov)- Skip clipping masks for layers hidden at the current zoom and stop re-binding dynamic buffers on cached vertex array binds, removing redundant WebGL calls every frame (#8369) (by
@johncarmack1984)- Re-render at most one stale terrain drape per frame and keep drapes that differ only by zoom while the map moves, so a finger lift over terrain no longer re-renders every tile at once (#8368) (by
@johncarmack1984)🐞 Bug fixes
- Fix
setStyle()throwing while terrain is still loading because an intermediate render tried to compile a terrain shader before the replacement style initialized its projection (#6824) (by@miakh)- Fix queued GeoJSON
updateDataproperty removals throwing after geometry-only updates or retaining previously updated values (#8372) (by@jokrasno)- Treat camera options passed as
undefinedas not given injumpTo,easeToandflyTo; they were coerced to NaN (#8373) (by@vlumi)- Fix a
Not implemented.error that broke panning and zooming when the projection was changed while the camera was moving, on maps with terrain enabled or atransformCameraUpdatecallback (#8351) (by@lazerg)- Fix a map created inside a hidden container staying at the
400x300fallback size when the container is shown before the resize observer's first notification is delivered (#8277) (by@spliffone)- Fix
MercatorTransformthrowing when it is resized to a zero width, and skip the matrix calculation of every projection while the transform has a zero width or height (#8374) (by@avosa)- Fix every style update opening a redundant sky and light transition, which kept
idlefrom firing for the transition duration after the map was otherwise done, and could ease the sky and the light on a different curve from the layers (#8348) (by@cherenkov)- Fix DOM sanitization for iframe and srcdoc (#8396) (by
@HarelM)
Sourced from maplibre-gl's changelog.
6.9.0
✨ Features and improvements
- Improved support for drawing the letters of Devanagari, Khmer, Burmese and the other complex scripts and also draws Arabic and Hebrew labels correctly without loading a right-to-left text plugin, which deprecates
setRTLTextPluginandgetRTLTextPluginStatus(#8343) (by@HarelM)- Read sprite and image pixels back through an
OffscreenCanvaswhere available, removing a main-thread stall of tens of milliseconds on GPU-accelerated browsers when a sprite loads (#8339) (by@cherenkov)- Skip clipping masks for layers hidden at the current zoom and stop re-binding dynamic buffers on cached vertex array binds, removing redundant WebGL calls every frame (#8369) (by
@johncarmack1984)- Re-render at most one stale terrain drape per frame and keep drapes that differ only by zoom while the map moves, so a finger lift over terrain no longer re-renders every tile at once (#8368) (by
@johncarmack1984)🐞 Bug fixes
- Fix
setStyle()throwing while terrain is still loading because an intermediate render tried to compile a terrain shader before the replacement style initialized its projection (#6824) (by@miakh)- Fix queued GeoJSON
updateDataproperty removals throwing after geometry-only updates or retaining previously updated values (#8372) (by@jokrasno)- Treat camera options passed as
undefinedas not given injumpTo,easeToandflyTo; they were coerced to NaN (#8373) (by@vlumi)- Fix a
Not implemented.error that broke panning and zooming when the projection was changed while the camera was moving, on maps with terrain enabled or atransformCameraUpdatecallback (#8351) (by@lazerg)- Fix a map created inside a hidden container staying at the
400x300fallback size when the container is shown before the resize observer's first notification is delivered (#8277) (by@spliffone)- Fix
Map#projectreturning an incorrect on-screen point for a location behind the camera. It now returns a point outside the viewport, on the side through which the location left the screen, so DOM markers and popups are moved off-screen as expected. (#8292) (by@schickm)- Fix
MercatorTransformthrowing when it is resized to a zero width, and skip the matrix calculation of every projection while the transform has a zero width or height (#8374) (by@avosa)- Fix every style update opening a redundant sky and light transition, which kept
idlefrom firing for the transition duration after the map was otherwise done, and could ease the sky and the light on a different curve from the layers (#8348) (by@cherenkov)- Fix DOM sanitization for iframe and srcdoc (#8396) (by
@HarelM)
f985318
Bump js version to 6.9.0 (#8398)b51d10a
improve sanitization (#8396)3603401
chore(deps-dev): bump cssnano from 9.0.2 to 9.0.3 (#8390)3e3c447
chore(deps): bump @maplibre/maplibre-gl-style-spec from
26.4.1 to 26.4.2 (#8391)ea9f7df
chore(deps): bump zensical/zensical from 0.0.59 to 0.0.60 (#8392)ce10d22
feat: add bidi support and deprecate RTL plugin (#8343)86901c5
fix: stop re-opening sky and light transitions on every style update (#8350)54dfab1
chore(deps-dev): bump @types/node from 26.4.0 to 26.4.1
(#8352)209e342
perf: skip hidden layers before their clipping masks and drop the
dynamic buf...71a12d8
fix: skip terrain drawing until replacement projection is ready (#8258)