Sourced from maplibre-gl's releases.
v6.11.2
✨ Features and improvements
- Improve rendering performance by uploading each tile's projection data once per frame instead of before every draw call (#8545) (by
@birkskyum)- Support multiple glyph variants in requests, caches, and atlases (#8488) (by
@NEKOYASAN)🐞 Bug fixes
- Fix
Map#once(type, layerId, listener)unsubscribing on the first event that misses the layer instead of the first event that hits it (#8499) (by@cherenkov)- Remove hillshade gradient toward the poles (#8551) (by
@birkskyum)- Fix camera settings being undone during camera movement with terrain or
transformCameraUpdate(#8550) (by@birkskyum)- Fix zooming and panning with the pointer above the horizon moving the map in the opposite direction (#8544) (by
@birkskyum)- Fix the camera jumping when a drag over terrain ends at a pitch above 84° (#8541) (by
@birkskyum)- Ease the center elevation over terrain during
easeToandflyToinstead of holding it and jumping when the animation ends (#8543) (by@johncarmack1984)- Fix
fitBoundsandcameraForBoundsthrowing on the globe projection when the padding exceeds the viewport, instead of warning and returningundefinedas on mercator (#8538) (by@drakeo338)- Keep raster tiles sharp at a fractional
devicePixelRatio, where the canvas covered a different number of device pixels than its backing store held and the compositor rescaled it (#1590) (by@zdila)v6.11.1
🐞 Bug fixes
- Fix missing promoteId when merging queued updateData diffs in geojson source (#8500) (by
@cherenkov)- Sanitize attribution with an allow list of tags and attributes rather than a list of known-dangerous ones (#8532) (by
@HarelM)- Fix the camera jumping or bobbing around gestures over terrain, and ignoring terrain that loads after
easeTo/flyTo(#8471) (by@johncarmack1984)- Stop sending a vector tile to the worker when it was dropped while its request was being transformed or while the worker was still starting up, which left the parsed tile in the worker for the lifetime of the map (#8516) (by
@cherenkov)v6.11.0
✨ Features and improvements
- Fire a
contextmenumap event on long press for touch devices (#373) (by@kirthi-b)- Transition paint, light and sky properties that read
global-statefrom the value they had when the state changes, where they snapped to the new value while holdingidlefor the transition duration (#8395) (by@avosa)- Speed up cross-tile symbol matching for sources with
promoteIdby keying symbols on their feature id as well as their label (#8470, continues #7665) (by@bradymadden97and@johncarmack1984)- Add
Map#calculateAnchoredCameraOptionsto calculate camera options that place a geographic anchor at a screen position without moving the map (#8288) (by@xavierjs)- Skip the loaded-tile scan for constant
symbol-height-offsetlayers when computing tile coverage (#8424) (by@clement-igonet)- Type and document that an
addProtocolhandler may return anImageBitmaporHTMLImageElementfor an image resource, so decoded pixels are not encoded and decoded again (#8515) (by@MannXo)🐞 Bug fixes
- Fade the globe atmosphere in with the camera's altitude, so the sky keeps the horizon until the atmosphere takes over from space (#8464) (by
@birkskyum)- Report worker script failures through the map
errorevent (#8018) (by@xavierjs)- Fix slow panning and zooming in Firefox on macOS since 6.8.0 (#8468) (by
@timsluisand@birkskyum)- Keep source-specific tile LOD settings from changing internal terrain render-to-texture tile selection (#8048) (by
@DoFabien)- Fix
map.setSky()silently keeping the old sky and firing noerrorevent when the value included a-transitionkey (#8375) (by@Yasser-Ameur)- Fix markers and popups misplaced after a projection change or by terrain that loads after the map settled. (#8433) (by
@patte)- Insert sanitized attribution HTML as DOM nodes instead of re-parsing a serialized string (#8528) (by
@cherenkov)
Sourced from maplibre-gl's changelog.
6.11.2
✨ Features and improvements
- Improve rendering performance by uploading each tile's projection data once per frame instead of before every draw call (#8545) (by
@birkskyum)- Support multiple glyph variants in requests, caches, and atlases (#8488) (by
@NEKOYASAN)🐞 Bug fixes
- Fix
Map#once(type, layerId, listener)unsubscribing on the first event that misses the layer instead of the first event that hits it (#8499) (by@cherenkov)- Remove hillshade gradient toward the poles (#8551) (by
@birkskyum)- Fix camera settings being undone during camera movement with terrain or
transformCameraUpdate(#8550) (by@birkskyum)- Fix zooming and panning with the pointer above the horizon moving the map in the opposite direction (#8544) (by
@birkskyum)- Fix the camera jumping when a drag over terrain ends at a pitch above 84° (#8541) (by
@birkskyum)- Ease the center elevation over terrain during
easeToandflyToinstead of holding it and jumping when the animation ends (#8543) (by@johncarmack1984)- Fix
fitBoundsandcameraForBoundsthrowing on the globe projection when the padding exceeds the viewport, instead of warning and returningundefinedas on mercator (#8538) (by@drakeo338)- Keep raster tiles sharp at a fractional
devicePixelRatio, where the canvas covered a different number of device pixels than its backing store held and the compositor rescaled it (#1590) (by@zdila)6.11.1
🐞 Bug fixes
- Fix missing promoteId when merging queued updateData diffs in geojson source (#8500) (by
@cherenkov)- Sanitize attribution with an allow list of tags and attributes rather than a list of known-dangerous ones (#8532) (by
@HarelM)- Fix the camera jumping or bobbing around gestures over terrain, and ignoring terrain that loads after
easeTo/flyTo(#8471) (by@johncarmack1984)- Stop sending a vector tile to the worker when it was dropped while its request was being transformed or while the worker was still starting up, which left the parsed tile in the worker for the lifetime of the map (#8516) (by
@cherenkov)6.11.0
✨ Features and improvements
- Fire a
contextmenumap event on long press for touch devices (#373) (by@kirthi-b)- Transition paint, light and sky properties that read
global-statefrom the value they had when the state changes, where they snapped to the new value while holdingidlefor the transition duration (#8395) (by@avosa)- Speed up cross-tile symbol matching for sources with
promoteIdby keying symbols on their feature id as well as their label (#8470, continues #7665) (by@bradymadden97and@johncarmack1984)- Add
Map#calculateAnchoredCameraOptionsto calculate camera options that place a geographic anchor at a screen position without moving the map (#8288) (by@xavierjs)- Skip the loaded-tile scan for constant
symbol-height-offsetlayers when computing tile coverage (#8424) (by@clement-igonet)- Type and document that an
addProtocolhandler may return anImageBitmaporHTMLImageElementfor an image resource, so decoded pixels are not encoded and decoded again (#8515) (by@MannXo)🐞 Bug fixes
- Fade the globe atmosphere in with the camera's altitude, so the sky keeps the horizon until the atmosphere takes over from space (#8464) (by
@birkskyum)- Report worker script failures through the map
errorevent (#8018) (by@xavierjs)- Fix slow panning and zooming in Firefox on macOS since 6.8.0 (#8468) (by
@timsluisand@birkskyum)- Keep source-specific tile LOD settings from changing internal terrain render-to-texture tile selection (#8048) (by
@DoFabien)- Fix
map.setSky()silently keeping the old sky and firing noerrorevent when the value included a-transitionkey (#8375) (by@Yasser-Ameur)- Fix markers and popups misplaced after a projection change or by terrain that loads after the map settled. (#8433) (by
@patte)- Insert sanitized attribution HTML as DOM nodes instead of re-parsing a serialized string (#8528) (by
@cherenkov)
acb7b72
Bump js version to 6.11.2 (#8555)d28f844
fix: Map#once with layerId unsubscribes only after a real hit (#8499)99d0160
Support multiple glyph variants (#8488)98268d3
Fix globe cameraForBoxAndBearing throwing when padding exceeds the
viewport (...f560a83
Size the canvas to whole device pixels (#8513)7a897d0
Remove hillshade gradient toward the poles (#8551)0dff33a
Fix camera settings being undone during camera movement (#8550)c2031bf
GM2.8 Upload projection data once per tile instead of once per draw (#8545)728a44c
Fix zoom and drag above the horizon moving the map the wrong way (#8544)3dfdce0
refactor: one method builds the mercator animation's end transform (#8546)