v3.6.0
版本发布时间: 2024-08-14 23:51:21
mapbox/mapbox-gl-js最新发布版本:v3.7.0(2024-09-27 17:16:45)
Features and improvements ✨
- Add wall rendering mode to the
fill-extrusion
layer by introducingfill-extrusion-line-width
andfill-extrusion-line-alignment
properties. Setfill-extrusion-line-width
to a non-zero value to render walls instead of a solid extrusion. - Improve initial load performance.
- Add inner glow effect for negative
circle-blur
values. - Add
raster-particle-elevation
property. - Add support for inlining TileJSON in style source definitions using
data
field. - Improve 3D models' shadow appearance.
- Improve performance of updating config values of a style.
- Add more descriptive expression evaluation error messages.
- Improve TypeScript typings.
- Improve performance of symbol occlusion (visibility checks against terrain and 3D objects).
- Add
clip-layer-scope
property to limitclip
layer to a specific style fragment. - Add
Map
idle
method to check whether a map is idle.
Bug fixes 🐞
- Fix
isSourceLoaded
flag onsourcedata
event for already loaded sources. - Fix firing
load
event when all tiles fail to load. - Fix performance issues when GeoJSON in
dynamic
mode is updated too frequently. - Fix GeoJSON line rendering in
dynamic
mode. - Fix rasterarray layer flickering from stale tiles cache.
- Fix spikes when viewing terrain-enabled maps in certain environments.
- Fix
Map
getLayer
not working properly with custom layers. - Fix custom layer rendering issues on globe with high pitch.
- Fix an issue with
line-trim-offset
on very long lines. - Fix rendering issues when ground effects overlap with line layers.
- Fix landmark visibility issues near tile borders.
- Fix accessibility issues with compact attribution button and logo.