-
Notifications
You must be signed in to change notification settings - Fork 0
fix(deps): update dependency mapbox-gl to v3 #483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/mapbox-gl-3.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2d913f9 to
576d3f4
Compare
3505672 to
d985f08
Compare
d985f08 to
a62f32c
Compare
a62f32c to
836df5e
Compare
836df5e to
dc1cbe5
Compare
dc1cbe5 to
edcaa52
Compare
edcaa52 to
58a617f
Compare
1a131ac to
047c4ce
Compare
047c4ce to
e8f5ca5
Compare
e8f5ca5 to
f4931e2
Compare
f4931e2 to
10e65b0
Compare
10e65b0 to
95a15bf
Compare
95a15bf to
5871167
Compare
5871167 to
29626f4
Compare
d51d4d7 to
f28995c
Compare
f28995c to
dfeba08
Compare
dfeba08 to
5bd6762
Compare
5bd6762 to
2c29691
Compare
2c29691 to
7d283ab
Compare
7d283ab to
04ba899
Compare
04ba899 to
9d2914a
Compare
9d2914a to
b5995ce
Compare
b5995ce to
be977ec
Compare
be977ec to
dbe2081
Compare
dbe2081 to
d9ce773
Compare
d9ce773 to
b279f4f
Compare
b279f4f to
c9418ea
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.16.0^2.7.10->^3.4.1Release Notes
mapbox/mapbox-gl-js (mapbox-gl)
v3.16.0Compare Source
Features and improvements ✨
MapsetLayerPropertythat combinessetLayoutProperty&setPaintPropertyinto one method for convenience.modelsource and layer.sourcedataevent data.Bug fixes 🐞
queryRenderedFeaturesfor model layers.GeolocationPositiontogeolocateevent listeners.scaleFactor.v3.15.0Compare Source
Features and improvements ✨
queryRasterValuemethod for querying values inraster-arraylayers.icon-image-use-themeproperty.hslaexpression performance.queryRasterValueresults to 12 decimal digits to fix precision issues.Bug fixes 🐞
"Infinity"and similar ids.GL_INVALID_VALUEconsole warning on Mapbox Satellite Standard and a few other styles.*-occlusion-opacityproperties didn't have any effect.v3.14.0Compare Source
Breaking changes⚠️
glyphsURL template from the root style instead of their own.Features and improvements ✨
splitexpression to divide a string into an array of substrings based on a specified delimiter.Bug fixes 🐞
icon-image-cross-fade.rasterlayers from a singleraster-arraysource.setDataon large datasets.v3.13.0Compare Source
Breaking changes⚠️
interpolateexpression will interpolate between non-alpha-premultiplied colors. The change might affectraster-particle-color,line-gradient, andheatmap-color.rgbexpression will return non-premultiplied-alpha color.Features and improvements ✨
["worldview"]expression, which returns the currentworldviewof the map.model-translationsupport for batched model layers.Bug fixes 🐞
mapbox-gl-rtl-textv0.3.0 plugin not loading in certain configurations.text-variable-anchordisappearing.mouseleavewithoutmouseenter.color-use-themeproperty of 3D lights.configexpressions (h/t @brncsk) #13453.setStylewith the same URL of an import.Workflow 🛠️
v3.12.0Compare Source
Features and improvements ✨
wrapTileIdproperty toCustomLayerInterfaceto control whether tile IDs are wrapped across world copies during rendering.line-pattern-cross-fade,fill-pattern-cross-fade, andfill-extrusion-pattern-cross-fadeproperties for smooth transitions between pattern images.extra_boundsin TileJSON for more fine-grained control over tile requests, particularly when dealing with sparse data coverage.Bug fixes 🐞
setDataon symbol layers could cause flickering.CustomSourceInterfaceTypeScript type that was missing in the public interface.line-gradientvalidation to work not only on GeoJSON, but also on vector tile sources if they havemapbox_clip_startandmapbox_clip_endproperties precomputed.styleimagemissingevent not firing in certain scenarios.v3.11.1Compare Source
undefinedpassed inMarkeroptions not falling back to default values.v3.11.0Compare Source
Breaking changes⚠️
atexpression does not interpolate anymore. Please useat-interpolatedif you want to keep the old behavior.Features and improvements ✨
at-interpolatedexpression as the interpolated counterpart to theatexpression.altitudemarker property to adjust elevation. (h/t @yangtanyu) #13335.getCooperativeGesturesandsetCooperativeGesturesmap methods to control cooperative gestures logic after the map is initialized.getGlyphsUrlandsetGlyphsUrlmap methods to manage the glyphs endpoint URL.pitchRotateKeymap option to override the modifier key for rotate and pitch handlers.Bug fixes 🐞
v3.10.0Compare Source
Features and improvements ✨
*-use-themeproperties.Bug fixes 🐞
queryRenderedFeaturesnot working on duplicated model layers.mouseenterandmouseleavewith Interactions API.icon-size.v3.9.4Compare Source
v3.9.3Compare Source
v3.9.2Compare Source
v3.9.1Compare Source
queryRenderedFeaturesnot working on styles with custom layers.line-join: none.queryRenderedFeaturesandquerySourceFeatureswithfeatureset, fixfilteroption to apply tofeaturesetselectors rather than original properties, and addfeatureNamespacevalidation.queryRenderedFeaturesmissingsource,sourceLayerandlayerproperties in resulting features where they should be present.v3.9.0Compare Source
Breaking changes⚠️
featuresetproperty totargetinaddInteractionandqueryRenderedFeaturesoptions.Features and improvements ✨
snowandrainstyle properties.to-hslaexpression.*-use-themeproperty to override the color theme for specific layers.color-themeoverrides in imports.mouseenter,mouseover,mouseleave, andmouseoutevents foraddInteraction.featuresetsandlayersin theMap#queryRenderedFeatures.cliplayer is now stable and no longer marked experimental.Bug fixes 🐞
line-z-offsetwould sometimes break layer rendering order.v3.8.0Compare Source
Features and improvements ✨
featuresets, an upcoming way to query features in Mapbox Standard and other fragment-based styles.MapaddInteraction/removeInteractionmethods that make it easier to manage map interactions like clicking and hovering over features.line-cross-slopeandline-elevation-referenceproperties.scaleFactormap option andsetScaleFactormethod to increase map label size (useful for improving accessibility or adjusting text size for different devices).line-progressexpression in non-data-driven line properties.Bug fixes 🐞
addImportcalls.symbol-z-offsetnot working properly.line-emissive-strengthnot being applied to patterned lines.v3.7.0Compare Source
Features and improvements ✨
background-pitch-alignmentproperty of thebackgroundlayer, which is set tomapby default but can now be set toviewport. Useful for highlighting individual features by dimming the rest of the map with a semitransparent background.top,right,bottom, andleft) (h/t @Ethan-Guttman).retainPaddingoption for camera movement methods, which can be set tofalsefor pre-v3.4 padding behavior.configexpression support in layer filter.symbol-z-offsetandsymbol-elevation-reference.fill-z-offsetproperty for fill layers.Map#fitBoundsfor the alternative projections.Map#setPaintPropertyandMap#setLayoutPropertymethods.stringevent type in Map event handlers.RequestTransformFunction,ResourceType, andRequestParameterstypes.Bug fixes 🐞
fill-extrusion-line-widthrendering for large polygonssymbol-z-orderis set toauto.minzoomandmaxzoomproperties were ignored bycliplayers.cliplayers.cast-shadowsproperty type.setStencilMode-related error in the console with the dev build.v3.6.0Compare Source
Features and improvements ✨
fill-exturionlayer by introducingfill-extrusion-line-widthandfill-extrusion-line-alignmentproperties. Setfill-extrusion-line-widthto a non-zero value to render walls instead of a solid extrusion.circle-blurvalues.datafield.clip-layer-scopeproperty to limitcliplayer to a specific style fragment.Mapidlemethod to check whether a map is idle.Bug fixes 🐞
isSourceLoadedflag onsourcedataevent for already loaded sources.loadevent when all tiles fail to load.dynamicmode is updated too frequently.dynamicmode.MapgetLayernot working properly with custom layers.line-trim-offseton very long lines.v3.5.2Compare Source
fill-extrusion-cutoff-fade-range.v3.5.1Compare Source
icon-occlusion-opacity/text-occlusion-opacityproperties to opt-in to new occlusion behavior.v3.5.0Compare Source
Breaking changes⚠️
@types/mapbox-glare not fully compatible with the new first-class typings. Users relying on the community typings may experience breaking changes. Please remove the@types/mapbox-gldependency and refer to the v3.5.0 migration guide for instructions on upgrading, resolving common issues, and asking questions regarding the migration to the first-class typings. We welcome your feedback and contributions to make Mapbox GL JS better.Features and improvements ✨
color-themeproperty andMapsetColorThememethod to enable colorization with a lookup table (LUT) images.updateDataforGeoJSONsources indynamicmode.icon-occlusion-opacityandtext-occlusion-opacityproperties to fade symbols behind models and landmarks.line-occlusion-opacityproperty to fade lines behind 3D objects.cliplayer to filter out rendering data.line-z-offsetproperty for a non-globe view.model-cutoff-fade-rangeproperty to control fade out of faraway 3D buildings.line-patternon long lines and higher zooms.line-trim-colorandline-trim-fade-rangeproperties to customize rendering of lines trimmed withline-trim-offset.MapgetSlotsmethod for listing available slots of a style.Bug fixes 🐞
updateDatacalls.raster-particlelayer animation.model-front-cutoffproperty for Meshopt-encoded models.setTerrain.style.loadevent missingstyleproperty.queryRenderedFeatureson areas with missing DEM tiles when terrain is enabled.v3.4.0Compare Source
Features and improvements ✨
dynamic: trueoption for GeoJSON sources that enables partial update API withsource.updateDatamethod. Further optimizations for this mode are expected in future releases.MapsetConfig,getConfig,setSchemaandgetSchemamethods for batch setting of style configuration options.configoption for theMapconstructor andsetStylemethods for conveniently setting style configuration options on map initialization.icon-color-saturation,icon-color-contrast,icon-color-brightness-minandicon-color-brightness-maxto control symbol layer appearance.line-joinmode:noneto improve line pattern distortions around joins.model-idproperty to support URIs (in addition to style-defined model references).devtoolsUI.Bug fixes 🐞
flyToignoringpaddingin its options.cameraForBoundson globe view. (h/t @jonasnoki) #13126preloadOnlynot preloading tiles from style imports.queryRenderedFeaturesfor non-integer ID in non-tiled model sourcesmodel-scaleproperty for large number of 3D models.raster-particlelayer on globe view.raster-arraydata.symbol-z-elevate.raster-particlelayer on certain Android devices.v3.3.0Compare Source
Features and improvements ✨
raster-arraysource type, representing a new experimental Mapbox Raster Tile format which encodes series of tiled raster data (such as weather time series).raster-particlelayer which animates particles of different speed and color based on underlyingraster-arraydata.addImport,moveImport,updateImport, andremoveImportAPI methods.getSlot, andsetSlotAPI methods to control layers' slots.queryRenderedFeatures.raster-elevationsupport for tiled raster sources.configexpression support in fog.Bug fixes 🐞
maxZoom.setStyle.zoffset when the opacity is evaluated at 0 on the zoom change.formatexpression in theconfigexpression.symbol-sort-keyproperty.v3.2.0Compare Source
Features and improvements ✨
devtools: trueinMapoptions.map.areTilesLoaded.fill-extrusion-flood-light-ground-radiusproperty.fill-extrusion-cutoff-fade-rangeproperty.Bug fixes 🐞
map.flyTowithpaddingoption was setting and overriding map's padding.urlortilesis missing from source, i.e. in MapTiler source.configexpression chaining through nested styles and other issues related to config scope.configandformatexpressions not working together.v3.1.2Compare Source
Bug fixes 🐞
v3.1.1Compare Source
Bug fixes 🐞
fill-extrusionsnot being displayed in alternative projections.v3.1.0Compare Source
Features and improvements ✨
raster-elevationproperty for elevating raster layers to a constant height (e.g. clouds over globe).raster-emissive-strengthandfill-extrusion-emissive-strengthproperties for controlling 3D lighting on buildings and raster layers.MapgetConfigPropertymethod for getting current style config values.configsupport in terrain options.null.minValue,maxValue,stepValue,values,type) when evaluating config options.Bug fixes 🐞
center: [0, 0]andzoom: 0map options were ignored in favor of style settings.slotnot taking precedence over thebeforeparameter for layer order."camera-projection": "orthographic"not working in styles with imports.box-sizing: border-box. (h/t @simondriesen) #12982aria-labelattribute in attribution control that fails accessibility conformance. (h/t @maggiewachs) #12981loadevent not firing for the sources whose tiles are 404s.urlortilesfor tiled sources during validation.v3.0.1Compare Source
Bug fixes 🐞
v3.0.0Compare 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⚠️
optimizeForTerrainmap option (layer rendering on globe and terrain is always optimized now).✨ Features and improvements
*-emissive-strengthproperties for styling layers with the new lighting API.measureLightexpression lights configuration property: Create dynamic styles based on lighting conditions.hslandhslacolor expressions: These expressions allow you to define colors using hue, saturation, and lightness format.fill-extrusion-cutoff-fade-rangeandmodel-cutoff-fade-rangestyle properties.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).configexpression: Retrieves the configuration value for the given option.styleoption is provided to the Map constructor, the Mapbox Standard Style is now enabled as a default.style.import.loadevent to track the loading of imported style fragments.raster-colorpaint properties.raster-valueexpression: Returns the raster value of a pixel computed viaraster-color-mix.vertical-rangestyle property.icon-image-cross-fadeproperty, which controls the transitioning between the two variants of an icon image.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.distanceexpression: Returns the shortest distance in meters between the evaluated feature and the input geometry.symbol-z-elevatestyle property.renderstartevent, which, combined with therenderevent, can be used to measure rendering frame duration.Bug fixes 🐞
paddingis used.tabindexwhen the map is not interactive; removerole="list"from the attribution control; addrole="img"to markers (h/t @kumiko-haraguchi and @aviroopjana).queryRenderedFeaturesresults on maps with globe and terrain.maphasImageandupdateImageafter the map was removed.line-border.v2.15.0Compare Source
Features ✨ and improvements 🏁
respectPrefersReducedMotionmap option (#12694)isPointOnSurfacemap method to determine if the given point is located on a visible map surface. (#12695)Bug fixes 🐞
v2.14.1Compare Source
Bug fixes 🐞
v2.14.0Compare Source
Features ✨ and improvements 🏁
referrerPolicyoption for thetransformRequestfunction when using fetch (#12590) (h/t robertcepa)Bug fixes 🐞
prefers-reduced-motionis enabled (#12631)v2.13.0Compare Source
Features ✨ and improvements 🏁
setTiles,setUrl). (#12352)Bug fixes 🐞
line-border-colorwhen used withline-trim-offset(#12461)fitBoundswith globe projection (#12488)map.getBounds()returning incorrect bounds with adaptive projections. (#12503)undefined is not an objectincoalesceChanges(#12497) (h/t nick-romano)v2.12.1Compare 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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.