Bump mapbox-gl from 1.13.2 to 3.0.1
Bumps mapbox-gl from 1.13.2 to 3.0.1.
Release notes
Sourced from mapbox-gl's releases.
v3.0.1
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 🐞
- Fix attribution not being displayed for imported fragments.
v3.0.0
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.0
Breaking changes ⚠️
- Discontinue WebGL 1 support. WebGL 2 is now mandatory for GL JS v3 usage, aligned with universal browser support.
- Remove the
optimizeForTerrainmap option (layer rendering on globe and terrain is always optimized now).Features and improvements ✨
3D Lights
- Introduced a new 3D Lights API that supports directional and ambient light sources to give you control of lighting and shadows in your map when using 3D objects.
- Add new
*-emissive-strengthproperties for styling layers with the new lighting API.- Introduced flood lighting for the extruded buildings' walls and the ground beneath them.
- Introduced ambient occlusion to affect the ground beneath the extruded buildings.
- Introduced
measureLightexpression lights configuration property: Create dynamic styles based on lighting conditions.- Added support for shadows cast from fill extrusions.
- Introduced
hslandhslacolor expressions: These expressions allow you to define colors using hue, saturation, and lightness format.- Add support for fading out 3D layers in the distance with
fill-extrusion-cutoff-fade-rangeandmodel-cutoff-fade-rangestyle properties.Style Composition with Imports
- Introducing support for nested and configurable styles. You can now import other styles into your main style, with updates to imported styles automatically reflected in your main style. Configuration properties can be set for imported styles, making them customizable.
- Introduced concept of
slots, pre-specified locations in the style, where your layer can be added (e.g., on top of existing land layers but below all labels).- Introduced
configexpression: Retrieves the configuration value for the given option.- When no
styleoption is provided to the Map constructor, the Mapbox Standard Style is now enabled as a default.- Add a
style.import.loadevent to track the loading of imported style fragments.Terrain Improvements
- Improve terrain sampling accuracy.
- Improve zooming and panning over dynamic terrain so that it feels smooth.
- Improve performance for styles that use both hillshade layers and terrain.
New Raster Features
- Introduced raster colorization via
raster-colorpaint properties.- Introduced
raster-valueexpression: Returns the raster value of a pixel computed viaraster-color-mix.
... (truncated)
Changelog
Sourced from mapbox-gl's changelog.
3.0.1
Bug fixes 🐞
- Fix attribution not being displayed for imported fragments.
3.0.0
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 ⚠️
- Discontinue WebGL 1 support. WebGL 2 is now mandatory for GL JS v3 usage, aligned with universal browser support.
- Remove the
optimizeForTerrainmap option (layer rendering on globe and terrain is always optimized now).✨ Features and improvements
- Introduced a new 3D Lights API that supports directional and ambient light sources to give you control of lighting and shadows in your map when using 3D objects.
- Add new
*-emissive-strengthproperties for styling layers with the new lighting API.- Introduced flood lighting for the extruded buildings' walls and the ground beneath them.
- Introduced ambient occlusion to affect the ground beneath the extruded buildings.
- Introduced
measureLightexpression lights configuration property: Create dynamic styles based on lighting conditions.- Added support for shadows cast from fill extrusions.
- Introduced
hslandhslacolor expressions: These expressions allow you to define colors using hue, saturation, and lightness format.- Add support for fading out 3D layers in the distance with
fill-extrusion-cutoff-fade-rangeandmodel-cutoff-fade-rangestyle properties.- Introducing support for nested and configurable styles. You can now import other styles into your main style, with updates to imported styles automatically reflected in your main style. Configuration properties can be set for imported styles, making them customizable.
- Introduced concept of
slots, pre-specified locations in the style, where your layer can be added (e.g., on top of existing land layers but below all labels).- Introduced
configexpression: Retrieves the configuration value for the given option.- When no
styleoption is provided to the Map constructor, the Mapbox Standard Style is now enabled as a default.- Add a
style.import.loadevent to track the loading of imported style fragments.- Improve terrain sampling accuracy.
- Improve zooming and panning over dynamic terrain so that it feels smooth.
- Improve performance for styles that use both hillshade layers and terrain.
- Introduced raster colorization via
raster-colorpaint properties.- Introduced
raster-valueexpression: Returns the raster value of a pixel computed viaraster-color-mix.- Add support for controlling the vertical fog range with
vertical-rangestyle property.- Introduced rounding fill extrusion edges for a smoother appearance.
- Introduced the
icon-image-cross-fadeproperty, which controls the transitioning between the two variants of an icon image.- Introduced
randomexpression: 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.- Introduced
distanceexpression: Returns the shortest distance in meters between the evaluated feature and the input geometry.- Add support for elevating symbols over buildings & other 3D layers with
symbol-z-elevatestyle property.- Improve rendering of stars on globe view.
- Add the
renderstartevent, which, combined with therenderevent, can be used to measure rendering frame duration.- Enable zoom-based expressions for model rotation, scale, and translation.
- Optimize shader compilation to reduce stuttering on complex 3D styles.
- Reduce flickering of symbols along lines due to rounding errors.
Bug fixes 🐞
- Fix the accuracy of the atmosphere gradient when rendering the globe.
... (truncated)
Commits
922da6dv3.0.1a2fcb8efix attribution not being displayed for imported fragments (internal-992)118e87dUpdate MIGRATION_GUIDE_v3.md3030405v3.0.07102f06v3.0.0-rc.6 (internal-974)a2b3344remove duplicate frag precision qualifiers (internal-973)f174204[GLJS-593] Fix source name collision between imports in symbol layers (intern...709e33fCheck 3D light type when merging imports (internal-971)ccd60c9Update Documentation (internal-969)23bd82fUpdate v8.json (internal-968)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)