mapbox-gl
Advanced tools
Changelog
3.9.4
Changelog
3.9.3
Changelog
3.9.2
Changelog
3.9.1
queryRenderedFeatures
not working on styles with custom layers.line-join: none
.queryRenderedFeatures
and querySourceFeatures
with featureset
, fix filter
option to apply to featureset
selectors rather than original properties, and add featureNamespace
validation.queryRenderedFeatures
missing source
, sourceLayer
and layer
properties in resulting features where they should be present.Changelog
3.9.0-beta.1
featureset
property to target
in addInteraction
and queryRenderedFetures
options.snow
and rain
style properties.to-hsla
expression.*-use-theme
property to override the color theme for specific layers.color-theme
overrides in imports.mouseenter
, mouseover
, mouseleave
, and mouseout
events for addInteraction
.featuresets
and layers
in the Map#queryRenderedFeatures
.Changelog
3.9.0-beta.1
featureset
property to target
in addInteraction
and queryRenderedFetures
options.snow
and rain
style properties.to-hsla
expression.*-use-theme
property to override the color theme for specific layers.color-theme
overrides in imports.mouseenter
, mouseover
, mouseleave
, and mouseout
events for addInteraction
.featuresets
and layers
in the Map#queryRenderedFeatures
.Changelog
3.8.0
featuresets
, an upcoming way to query features in Mapbox Standard and other fragment-based styles.Map
addInteraction
/removeInteraction
methods that make it easier to manage map interactions like clicking and hovering over features.line-cross-slope
and line-elevation-reference
properties.scaleFactor
map option and setScaleFactor
method to increase map label size (useful for improving accessibility or adjusting text size for different devices).line-progress
expression in non-data-driven line properties.addImport
calls.symbol-z-offset
not working properly.line-emissive-strength
not being applied to patterned lines.Changelog
v3.7.0
background-pitch-alignment
property of the background
layer, which is set to map
by default but can now be set to viewport
. Useful for highlighting individual features by dimming the rest of the map with a semitransparent background.top
, right
, bottom
, and left
) (h/t @Ethan-Guttman).retainPadding
option for camera movement methods, which can be set to false
for pre-v3.4 padding behavior.config
expression support in layer filter.symbol-z-offset
and symbol-elevation-reference
.fill-z-offset
property for fill layers.Map#fitBounds
for the alternative projections.Map#setPaintProperty
and Map#setLayoutProperty
methods.string
event type in Map event handlers.RequestTransformFunction
, ResourceType
, and RequestParameters
types.fill-extrusion-line-width
rendering for large polygonssymbol-z-order
is set to auto
.minzoom
and maxzoom
properties were ignored by clip
layers.clip
layers.cast-shadows
property type.setStencilMode
-related error in the console with the dev build.