fix(deps): update dependency mapbox-gl to v3 #483
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.11.1
->^3.4.0
^2.7.10
->^3.1.0
Release Notes
mapbox/mapbox-gl-js (mapbox-gl)
v3.4.0
Compare Source
Features and improvements β¨
dynamic: true
option for GeoJSON sources that enables partial update API withsource.updateData
method. Further optimizations for this mode are expected in future releases.Map
setConfig
,getConfig
,setSchema
andgetSchema
methods for batch setting of style configuration options.config
option for theMap
constructor andsetStyle
methods for conveniently setting style configuration options on map initialization.icon-color-saturation
,icon-color-contrast
,icon-color-brightness-min
andicon-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.Bug fixes π
flyTo
ignoringpadding
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.v3.3.0
Compare Source
Features and improvements β¨
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 underlyingraster-array
data.addImport
,moveImport
,updateImport
, andremoveImport
API methods.getSlot
, andsetSlot
API methods to control layers' slots.queryRenderedFeatures
.raster-elevation
support for tiled raster sources.config
expression support in fog.Bug fixes π
maxZoom
.setStyle
.z
offset when the opacity is evaluated at 0 on the zoom change.format
expression in theconfig
expression.symbol-sort-key
property.v3.2.0
Compare Source
Features and improvements β¨
devtools: true
inMap
options.map.areTilesLoaded
.fill-extrusion-flood-light-ground-radius
property.fill-extrusion-cutoff-fade-range
property.Bug fixes π
map.flyTo
withpadding
option was setting and overriding map's padding.url
ortiles
is missing from source, i.e. in MapTiler source.config
expression chaining through nested styles and other issues related to config scope.config
andformat
expressions not working together.v3.1.2
Compare Source
Bug fixes π
v3.1.1
Compare Source
Bug fixes π
fill-extrusions
not being displayed in alternative projections.v3.1.0
Compare Source
Features and improvements β¨
raster-elevation
property for elevating raster layers to a constant height (e.g. clouds over globe).raster-emissive-strength
andfill-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.Bug fixes π
center: [0, 0]
andzoom: 0
map options were ignored in favor of style settings.slot
not taking precedence over thebefore
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
ortiles
for tiled sources during validation.v3.0.1
Compare Source
Mapbox GL JS v3 enables the Mapbox Standard Style, a new realistic 3D lighting system, building shadows and many other visual enhancements, and an ergonomic API for using a new kind of rich, evolving, configurable map styles and seamless integration with custom data. You can get more information about the new features in the Mapbox GL JS v3 migration guide.
v3.0.1
Bug fixes π
v3.0.0
Compare Source
Mapbox GL JS v3 enables the Mapbox Standard Style, a new realistic 3D lighting system, building shadows and many other visual enhancements, and an ergonomic API for using a new kind of rich, evolving, configurable map styles and seamless integration with custom data. You can get more information about the new features in the Mapbox GL JS v3 migration guide.
Breaking changesβ οΈ
optimizeForTerrain
map option (layer rendering on globe and terrain is always optimized now).β¨ Features and improvements
*-emissive-strength
properties for styling layers with the new lighting API.measureLight
expression lights configuration property: Create dynamic styles based on lighting conditions.hsl
andhsla
color expressions: These expressions allow you to define colors using hue, saturation, and lightness format.fill-extrusion-cutoff-fade-range
andmodel-cutoff-fade-range
style properties.slot
s, pre-specified locations in the style, where your layer can be added (e.g., on top of existing land layers but below all labels).config
expression: Retrieves the configuration value for the given option.style
option is provided to the Map constructor, the Mapbox Standard Style is now enabled as a default.style.import.load
event to track the loading of imported style fragments.raster-color
paint properties.raster-value
expression: Returns the raster value of a pixel computed viaraster-color-mix
.vertical-range
style property.icon-image-cross-fade
property, which controls the transitioning between the two variants of an icon image.random
expression: Generate random values using this expression. Use this expression to generate random values, which can be particularly helpful for introducing randomness into your map data.distance
expression: Returns the shortest distance in meters between the evaluated feature and the input geometry.symbol-z-elevate
style property.renderstart
event, which, combined with therender
event, can be used to measure rendering frame duration.Bug fixes π
padding
is used.tabindex
when the map is not interactive; removerole="list"
from the attribution control; addrole="img"
to markers (h/t @βkumiko-haraguchi and @βaviroopjana).queryRenderedFeatures
results on maps with globe and terrain.map
hasImage
andupdateImage
after the map was removed.line-border
.v2.15.0
Compare Source
Features β¨ and improvements π
respectPrefersReducedMotion
map option (#β12694)isPointOnSurface
map method to determine if the given point is located on a visible map surface. (#β12695)Bug fixes π
v2.14.1
Compare Source
Bug fixes π
v2.14.0
Compare Source
Features β¨ and improvements π
referrerPolicy
option for thetransformRequest
function when using fetch (#β12590) (h/t robertcepa)Bug fixes π
prefers-reduced-motion
is enabled (#β12631)v2.13.0
Compare Source
Features β¨ and improvements π
setTiles
,setUrl
). (#β12352)Bug fixes π
line-border-color
when used withline-trim-offset
(#β12461)fitBounds
with globe projection (#β12488)map.getBounds()
returning incorrect bounds with adaptive projections. (#β12503)undefined is not an object
incoalesceChanges
(#β12497) (h/t nick-romano)v2.12.1
Compare Source
Bug fixes π
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.