This repository was archived by the owner on Oct 22, 2024. It is now read-only.
Update dependency maplibre-gl to v4 #77
Draft
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.0.0->^4.0.0Release Notes
maplibre/maplibre-gl-js (maplibre-gl)
v4.7.1Compare Source
🐞 Bug fixes
v4.7.0Compare Source
✨ Features and improvements
map.on,map.onceandmap.offmethods (#4570)maxzoomis less than or equal toclusterMaxZoomsince in this case you may see unexpected results. (#4604)🐞 Bug fixes
addSourceandgetSource(#4616)fitBoundsandcameraForBoundswould not display across the 180th meridian (antimeridian)lngRange. This caused a bug whereusing
transformCameraUpdatecaused themaxBoundsto stop working just for east/west bounds. (#4625)v4.6.0Compare Source
✨ Features and improvements
🐞 Bug fixes
getStyle()to return a clone so the object cannot be internally changed (#4488)undefined(#4587))v4.5.2Compare Source
✨ Features and improvements
🐞 Bug fixes
v4.5.1Compare Source
✨ Features and improvements
cooperativeGesturessetting, bringing it in line with other embedded map behaviours, such as Google Maps and Mapbox. (#4465)moveend(#4458)🐞 Bug fixes
style.loadURLabort error being logged when removing style (#4425)v4.5.0Compare Source
✨ Features and improvements
🐞 Bug fixes
v4.4.1Compare Source
🐞 Bug fixes
terrainlistener memory leak when adding and removing Marker (#4284)v4.4.0Compare Source
✨ Features and improvements
GeolocateControlto allow a more granular interaction (#3847)MapOptions.styleoptional to be consistent withMap.setStyle(null)(#4151)aria-labelconfigurable for Map, Marker and Popup (#4147)<canvas>is focusable only when interactive (#4147)🐞 Bug fixes
symbol-placementislineorline-center(#4124)-ms-high-contrastvendor prefix to(forced-colors: active)and(prefers-color-scheme: light)as appropriate (#4250)v4.3.2Compare Source
🐞 Bug fixes
moveendzoom being different than the actual current zoom (#4132)v4.3.1Compare Source
🐞 Bug fixes
v4.3.0Compare Source
✨ Features and improvements
getDatamethod for GeoJSON Sources to provide the possibility to obtain all the source's features (#4082)🐞 Bug fixes
text-translateandicon-translatebehaving weirdly and inconsistently with other-translateproperties (#3456)showCollisionBoxes) not showing the actual bounding boxes used for collision and click areas. The displayed boxes now match actual collision boxes exactly (#4071)text-translateproperty for translation instead of the correcticon-translate(#4071)v4.2.0Compare Source
✨ Features and improvements
Popup's methodsaddClassandremoveClassto return an instance of Popup (#3975)distanceexpression (#4076)v4.1.3Compare Source
✨ Features and improvements
isolatedModulesflag is set to false in favor of generated JS size. (#3879)🐞 Bug fixes
SourceCachethat makes unit tests unstable. Eliminate a redundant 'visibility' event fired from Style class. (#3992)v4.1.2Compare Source
✨ Features and improvements
🐞 Bug fixes
localIdeographFontFamily(#3896)closeevents being fired for popups that aren't open (#3901)v4.1.1Compare Source
✨ Features and improvements
🐞 Bug fixes
v4.1.0Compare Source
✨ Features and improvements
🐞 Bug fixes
FullscreenControlwhen MapLibre is within a ShadowRoot (#3573)setRTLTextPluginwhich can cause 1 or 2 extra frames to render. (#3728)v4.0.2Compare Source
🐞 Bug fixes
Style.setStateignoring validate flag (#3709)v4.0.1Compare Source
✨ Features and improvements
setUrlmethod to RasterTileSource to dynamically update existing TileJSON resource. (3700)🐞 Bug fixes
v4.0.0Compare Source
✨ Features and improvements
maplibregl, this means the the following methods have changed:maplibregl.version=>getVersion()maplibregl.workerCount=>getWorkerCount(),setWorkerCount(...)maplibregl.maxParallelImageRequests=>getMaxParallelImageRequests(),setMaxParallelImageRequests(...)maplibregl.workerUrl=>getWorkerUrl(),setWorkerUrl(...)This is to avoid the need to use a global object and allow named exports/imports (#3601)
MapOptions.attributionControlto be the type that the control handles, removedMapOptions.customAttribution(#3618)Note: showing the logo of MapLibre is not required for using MapLibre.
addProtocolandremoveProtocolthere (#3459) - this also changed howaddSourceTypeworks since now you'll need to load the script withmaplibregl.importScriptInWorkers.addProtocolto be promise-based without the usage of callbacks and cancelable (#3433)addSourceTypeto be a part of the global maplibregl object instead of being per map object (#3420)map.loadImagein continue to below change (#3422)GeoJSONSource'sgetClusterExpansionZoom,getClusterChildren,getClusterLeavesmethods to return aPromiseinstead of a callback usage (#3421)setRTLTextPluginfunction to return a promise instead of using callback (#3418) this also changed how the RTL plugin code is handled internally by splitting the main thread and worker thread code.setCooperativeGesturesandgetCooperativeGesturesfunctions in favor ofcooperativeGestureshandler which now has anenabled()ordisabled()methods (#3430)WorkerSourceand how it behaves (#3233)Sourceinterface to return promises instead of callbacks (#3233)map.loadImagemethod to return aPromiseinstead of a callback usage (#3233)Add "opacity" option and
setOpacitymethod to Marker (#3620)Created a new example showing how to place a threejs scene as a
CustomLayerover maplibre 3d-terrain (#3429)Changed
ImageRequestto bePromisebased (#3233)Improved precision and added a subtle fade transition to marker opacity changes (#3431)
Adds support for terrain in
setStylewith diff method (#3515, #3463)Upgraded to use Node JS 20 and removed the dependency of
glpackage from the tests to allow easier development setup. (#3452)🐞 Bug fixes
Maptype in thed.tsfile (#3564)trackPointermethod active (#3434)Actoragainst XSS attacks in postMessage / onmessage (#3239)v3.6.2Compare Source
🐞 Bug fixes
v3.6.1Compare Source
🐞 Bug fixes
undefined_onEaseFramecall inCamera._renderFrameCallback()while doingCamera.jumpToduring aCamera.easeTo(#3332)v3.6.0Compare Source
✨ Features and improvements
fullscreenexample (#3311)🐞 Bug fixes
v3.5.2Compare Source
✨ Features and improvements
🐞 Bug fixes
isWebGL2check (#3238)v3.5.1Compare Source
🐞 Bug fixes
v3.5.0Compare Source
✨ Features and improvements
v3.4.1Compare Source
✨ Features and improvements
🐞 Bug fixes
v3.4.0Compare Source
✨ Features and improvements
🐞 Bug fixes
v3.3.1Compare Source
✨ Features and improvements
🐞 Bug fixes
Map.getLayer()andStyle.getLayer()to beStyleLayer | undefinedto match the documentation (#2969)Map.addLayer()andStyle.addLayer()to allow adding a layer with an embedded source, matching the documentation (#2966)Map.setTerrain(options: TerrainSpecification): Mapto beMap.setTerrain(options: TerrainSpecification | null): Mapper the API spec (#2993)Map.getTerrain(): TerrainSpecificationto beMap.getTerrain(): TerrainSpecification | nullfor consistency with the setTerrain function (#3020)v3.3.0Compare Source
✨ Features and improvements
text-variable-anchor-offsetsymbol style layer property (#2914)v3.2.2Compare Source
✨ Features and improvements
cacheparameter toRequestParameters(#2910)🐞 Bug fixes
v3.2.1Compare Source
✨ Features and improvements
cooperated gesturesexample to the doc.(#2860)🐞 Bug fixes
v3.2.0Compare Source
✨ Features and improvements
classNameoption to Marker constructor (#2729)Markerconstructor parameter (#2756)check-for-supportexample (#2859)🐞 Bug fixes
Style.serialize()when the style hasn't loaded yet (#2712)checkMaxAnglewhen a label with length 0 is on the last segment of a line (#2710)tap then dragzoom gesture detection to abort when the two taps are far away (#2673)v3.1.0Compare Source
✨ Features and improvements
🐞 Bug fixes
v3.0.1Compare Source
✨ Features and improvements
🐞 Bug fixes
RequestTransformFunctiontype to return RequestParameters or undefined (#2586)EXT_color_buffer_floatWebGL2 extension to fix heatmap in firefox (#2595)v3.0.0Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 was generated by Mend Renovate. View the repository job log.