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.15.0
->^3.0.1
Release Notes
mapbox/mapbox-gl-js (mapbox-gl)
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
.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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.