v3.2.0
版本发布时间: 2024-03-01 21:09:38
mapbox/mapbox-gl-js最新发布版本:v3.7.0(2024-09-27 17:16:45)
Features and improvements ✨
- Improve map loading performance.
- Add a debug UI for the development build of GL JS, enabled with
devtools: true
inMap
options. - Add imports support in
map.areTilesLoaded
. - Add support of rotation of elevated raster layers.
- Add support of negative values for
fill-extrusion-flood-light-ground-radius
property. - Improve visual cutoff behavior of buildings when using
fill-extrusion-cutoff-fade-range
property.
Bug fixes 🐞
- Fix the moiré effects on patterns in tilted map views.
- Fix occasional rendering issues with semitransparent raster tiles on globe view.
- Fix
config
expression chaining through nested styles and other issues related to config scope. - Fix an issue where
map.flyTo
withpadding
option was setting and overriding map's padding. - Issue a warning instead of a validation error if
url
ortiles
is missing from source, i.e. in MapTiler source. - Remove role attribute for non-visible alerts. (h/t @jakubmakielkowski) #13051
- Fix an elevation of symbols above multiple fill extrusions, when some of them hidden or lowered.
- Fix a small callback-related memory leak. (h/t @temas) #13074
- Fix
config
andformat
expressions not working together. - Improve error reporting when a user environment doesn't support WebGL 2.