mapbox-gl
Advanced tools
Changelog
3.4.0
dynamic: true
option for GeoJSON sources that enables partial update API with source.updateData
method. Further optimizations for this mode are expected in future releases.Map
setConfig
, getConfig
, setSchema
and getSchema
methods for batch setting of style configuration options.config
option for the Map
constructor and setStyle
methods for conveniently setting style configuration options on map initialization.icon-color-saturation
, icon-color-contrast
, icon-color-brightness-min
and icon-color-brightness-max
to control symbol layer appearance.line-join
mode: none
to improve line pattern distortions around joins.model-id
property to support URIs (in addition to style-defined model references).devtools
UI.flyTo
ignoring padding
in its options.cameraForBounds
on globe view. (h/t @jonasnoki) #13126preloadOnly
not preloading tiles from style imports.queryRenderedFeatures
for non-integer ID in non-tiled model sourcesmodel-scale
property for large number of 3D models.raster-particle
layer on globe view.raster-array
data.symbol-z-elevate
.raster-particle
layer on certain Android devices.Changelog
3.3.0
raster-array
source type, representing a new experimental Mapbox Raster Tile format which encodes series of tiled raster data (such as weather time series).raster-particle
layer which animates particles of different speed and color based on underlying raster-array
data.addImport
, moveImport
, updateImport
, and removeImport
API methods.getSlot
, and setSlot
API methods to control layers' slots.queryRenderedFeatures
.raster-elevation
support for tiled raster sources.config
expression support in fog.maxZoom
.setStyle
.z
offset when the opacity is evaluated at 0 on the zoom change.format
expression in the config
expression.symbol-sort-key
property.Changelog
3.2.0
devtools: true
in Map
options.map.areTilesLoaded
.fill-extrusion-flood-light-ground-radius
property.fill-extrusion-cutoff-fade-range
property.map.flyTo
with padding
option was setting and overriding map's padding.url
or tiles
is missing from source, i.e. in MapTiler source.config
expression chaining through nested styles and other issues related to config scope.config
and format
expressions not working together.Changelog
3.1.2
Changelog
3.1.1
fill-extrusions
not being displayed in alternative projections.Changelog
3.1.0
raster-elevation
property for elevating raster layers to a constant height (e.g. clouds over globe).raster-emissive-strength
and fill-extrusion-emissive-strength
properties for controlling 3D lighting on buildings and raster layers.Map
getConfigProperty
method for getting current style config values.config
support in terrain options.null
.minValue
, maxValue
, stepValue
, values
, type
) when evaluating config options.center: [0, 0]
and zoom: 0
map options were ignored in favor of style settings.slot
not taking precedence over the before
parameter for layer order."camera-projection": "orthographic"
not working in styles with imports.box-sizing: border-box
. (h/t @simondriesen) #12982aria-label
attribute in attribution control that fails accessibility conformance. (h/t @maggiewachs) #12981load
event not firing for the sources whose tiles are 404s.url
or tiles
for tiled sources during validation.