fix(deps): update dependency maplibre-gl to v5 (21.x) #2730
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:
4.7.1→5.16.0Release Notes
maplibre/maplibre-gl-js (maplibre-gl)
v5.16.0Compare Source
✨ Features and improvements
paddingoption toPopupclass to prevent popups from being positioned too close to map container edges (#5978) (by @yuiseki and @lucaswoj)style.loadevent on style diff (#6880) (by lesbaa)🐞 Bug fixes
formatexpressions (#6907) (by 1ec5)setStyleemit a style.load event. (#2587, #4757) (by @lesbaa)v5.15.0Compare Source
✨ Features and improvements
🐞 Bug fixes
LngLatBounds#intersectsreturningfalsefor bounds spanning 360° or more (#6863) (by @lucaswoj)minZoomormaxZoomdue to old copies fromtransformCameraUpdatetaking precedence.transformCameraUpdateis now called fromsetMinZoomandsetMaxZoomto allow user to control subsequent changes tozoom(#6766) (by @Auspicus)v5.14.0Compare Source
✨ Features and improvements
updateData,setData, and overzoomed tiles (#6738, #6772) (by @lucaswoj)🐞 Bug fixes
queryTerrainElevationto use higher zoom level tiles when possible (#6791) (by @HarelM)staticmodifier as part of mlt package (#6796) (by @HarelM)LngLatBounds#intersectsnow returnstruewhen bounds touch along an edge or at a corner (#6802) (by @lucaswoj)v5.13.0Compare Source
✨ Features and improvements
GeoJSONSource#updateData(#6668) (by @lucaswoj)🐞 Bug fixes
GeoJSONSource#updateData(#6689, #6690, #6704) (by @lucaswoj)v5.12.0Compare Source
✨ Features and improvements
encoding: 'mlt'in vector source definition (#6570) (by @Salkin975 and @HarelM)experimentalZoomLevelsToOverscaleflag toMapOptionsto allow controlling how many zoom levels to slice and how many to scale. It seems to have better performance at high zoom levels. It can prevent Safari crashes in some scenarios by setting it to 4 or less. (by @HarelM)🐞 Bug fixes
constrainOverridesetter inTransformHelper.apply(#6642) (by @larsmaxfield)v5.11.0Compare Source
✨ Features and improvements
GeoJSONSource#updateDatawhen called on small diffs (#6562) (by @lucaswoj)glyphsproperty at the root level, interpret thetext-fontproperty as a cascading fallback list of font names and render all text using local or system fonts. (#4564) (by @1ec5)🐞 Bug fixes
text-field, try to render it locally instead of crashing. (#4564) (by @1ec5)now()function in timeControl API to complete the API and enable external code to read controlled time (#6644) (by @bjperson)white-space: nowrapto prevent wrapping (#6647) (by @stroebjo)v5.10.0Compare Source
✨ Features and improvements
setNow,restoreNow,isTimeFrozen) for deterministic rendering, enabling frame-by-frame video export and deterministic testing (#6544) (by @bjperson)isHiddenlogic in the worker by adding a new optionalroundMinZoomparameter (#6547) (by @HarelM)transformConstraincallback to theMapoptions to override the transform'sconstrainwith new typeTransformConstrainFunction; refactor transform constructor options to aTransformOptionsobject (#6484) (by @larsmaxfield)🐞 Bug fixes
v5.9.0Compare Source
✨ Features and improvements
🐞 Bug fixes
buttonrole to marker div to fix accessibility issues with thearia-label(#6435) (by @cmburcus)v5.8.0Compare Source
✨ Features and improvements
line-dasharray(#5812) (by @lucaswoj)🐞 Bug fixes
v5.7.3Compare Source
🐞 Bug fixes
v5.7.2Compare Source
🐞 Bug fixes
_updateRetainedTileschecking for children when children length is 1 overscaled tile "child" (#6388) (by @NathanMOlson)global-statefor layers added after loading style (#6361) (by @melitele)global-stateobject fromStyleto expression to fix a hack that was introduced in previous versions (#6366) (by @melitele)loadandidleevents when source TileJSON fails to load (#5430) (by @melitele)v5.7.1Compare Source
🐞 Bug fixes
global-statein paint...-patternproperties (#6301) (by @melitele)text-colorwhen usingformatwithinstep(#5833) (by @sim51)mergeSourceDiffs: handle add/remove/removeAll (#6342) (by @lhapaipai)global-statein layout propertiesicon-sizeandtext-size(#6308) (by @melitele)v5.7.0Compare Source
✨ Features and improvements
langto Tiny-SDF to render Simplified and Traditional Chinese characters (#6223) (by @mapmeld)global-stateexpressions in layout properties (#6209) (by @melitele)coveringTilesmethod to the public API of the map object (#6292) (by @HarelM)🐞 Bug fixes
Style.set*methods (#6216) (by @sruenwg)global-statein paint properties with other subexpressions (#6048) (by @melitele)v5.6.2Compare Source
🐞 Bug fixes
GeoJSONSourcewhen rapidly updating data (#6163) (by @andrewda)Map.setTransformRequestparameter type to includenull(#6179) (by @madoci)_rotatePitchHandlerin thenavigation_control.tsfile (#6207) (by @daandewaard)v5.6.1Compare Source
🐞 Bug fixes
textureSizecall in color relief shader (#5980) (by @mwilsnd)locationOccludedOpacityno longer applicable (#6088) (by @jammie1903)v5.6.0Compare Source
✨ Features and improvements
setGlobalStateProperty()andgetGlobalState()to the map public API (#5613) (by @zbigniewmatysek-tomtom)color-relieflayer type to render hypsometric tint from terrain-RGB tiles. (#5742) (by @NathanMOlson)🐞 Bug fixes
queryRenderedFeaturesbounding box crossing antimeridian in globe view. (#5856) (by @msbarry)refreshTiles()for vector tiles (#5875) (by @NathanMOlson)clusterMaxZoom(warning is shown) (#5929) + clarify API docs (by @igalgh)switchstatement in hillshade shader (#5972) (by @mwilsnd)v5.5.0Compare Source
✨ Features and improvements
refreshTiles()to the map public API (#5806) (by @NathanMOlson)trackUserLocationis off (#5824) (by @tsegarra)🐞 Bug fixes
v5.4.0Compare Source
✨ Features and improvements
🐞 Bug fixes
queryRenderedFeatureson globe view when crossing international date line (#5765) (by @msbarry)unprojectto clamp points to horizon (#5771) (by @msbarry)v5.3.1Compare Source
🐞 Bug fixes
aria-labelon the Marker's element if it does not already has one (#5298) (by @liorchamla)glPixelStoreis now properly cleaned after texture updates to avoidglTexSubImage2Dcalls made on the same gl context acting differently at random (#5730) (by @kubapelc)v5.3.0Compare Source
✨ Features and improvements
getBoundsto GeoJSON source to allow getting the boundaries of the data in it (#5575) (by @HarelM)🐞 Bug fixes
v5.2.0Compare Source
✨ Features and improvements
🐞 Bug fixes
GeoJSONFeaturetype to library export as it is exposed byquerySourceFeatures(#5567) (by @HarelM)v5.1.1Compare Source
✨ Features and improvements
🐞 Bug fixes
v5.1.0Compare Source
✨ Features and improvements
vertical-aligninformatexpression (specification)(#5043). (by @stanislawpuda-tomtom)🐞 Bug fixes
v5.0.1Compare Source
✨ Features and improvements
geometry-type(#5331). This change was causing issues in a large number of styles and thus reverted. (by @HarelM)🐞 Bug fixes
v5.0.0Compare Source
✨ Features and improvements
⚠️ Changed (by @HarelM)geometry-typeto identify "Multi-" features (#4877). Use$typewhich has no "Multi-" support or useinexpression to get the previous behavior.StyleLayer'squeryIntersectsFeaturemethod parameters were moved toQueryIntersectsFeatureParams. (#5276) Wrap the method parameters with{}to solve this (by @HarelM)antialias,preserveDrawingBufferandfailIfMajorPerformanceCaveatmust now be defined inside thecanvasContextAttributesobject onMapOptions. (by @ibesora)onmethod to return aSubscriptionto allow for easy unsubscribe (#5080).map.on('x').on('y')=>map.on('x'); map.on('y');. (by @HarelM)contextTypeinsidecanvasContextAttributesto choose which WebGL version to use (by @ibesora)Eventclass (#5016) (by @zdila)coveringTiles(tile culling) function for globe (#4937) (by @kubapelc)AJAXErrorto expose HTTP request details to the"error"event (#4822) (by @jonathanlurie)queryRenderedFeaturesby using JavaScriptSets to assess layer membership internally (#4777) (by @tomhicks)🐞 Bug fixes
errorhandler (#4613) (by @ibesora)geometry-typefilter expression results (#5132) (by @HarelM)GeoJSONSource.setClusterOptions()(#5055) (by @ciscorn)always(#4802) (by @kubapelc)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 this update again.
This PR has been generated by Renovate Bot.