fix(deps): update dependency maplibre-gl to v4 #5498
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.4.0
->4.3.2
Release Notes
maplibre/maplibre-gl-js (maplibre-gl)
v4.3.2
Compare Source
π Bug fixes
moveend
zoom being different than the actual current zoom (#β4132)v4.3.1
Compare Source
π Bug fixes
v4.3.0
Compare Source
β¨ Features and improvements
getData
method for GeoJSON Sources to provide the possibility to obtain all the source's features (#β4082)π Bug fixes
text-translate
andicon-translate
behaving weirdly and inconsistently with other-translate
properties (#β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-translate
property for translation instead of the correcticon-translate
(#β4071)v4.2.0
Compare Source
β¨ Features and improvements
Popup
's methodsaddClass
andremoveClass
to return an instance of Popup (#β3975)distance
expression (#β4076)v4.1.3
Compare Source
β¨ Features and improvements
isolatedModules
flag is set to false in favor of generated JS size. (#β3879)π Bug fixes
SourceCache
that makes unit tests unstable. Eliminate a redundant 'visibility' event fired from Style class. (#β3992)v4.1.2
Compare Source
β¨ Features and improvements
π Bug fixes
localIdeographFontFamily
(#β3896)close
events being fired for popups that aren't open (#β3901)v4.1.1
Compare Source
β¨ Features and improvements
π Bug fixes
v4.1.0
Compare Source
β¨ Features and improvements
π Bug fixes
FullscreenControl
when MapLibre is within a ShadowRoot (#β3573)setRTLTextPlugin
which can cause 1 or 2 extra frames to render. (#β3728)v4.0.2
Compare Source
π Bug fixes
Style.setState
ignoring validate flag (#β3709)v4.0.1
Compare Source
β¨ Features and improvements
setUrl
method to RasterTileSource to dynamically update existing TileJSON resource. (3700)π Bug fixes
v4.0.0
Compare 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.attributionControl
to be the type that the control handles, removedMapOptions.customAttribution
(#β3618)Note: showing the logo of MapLibre is not required for using MapLibre.
addProtocol
andremoveProtocol
there (#β3459) - this also changed howaddSourceType
works since now you'll need to load the script withmaplibregl.importScriptInWorkers
.addProtocol
to be promise-based without the usage of callbacks and cancelable (#β3433)addSourceType
to be a part of the global maplibregl object instead of being per map object (#β3420)map.loadImage
in continue to below change (#β3422)GeoJSONSource
'sgetClusterExpansionZoom
,getClusterChildren
,getClusterLeaves
methods to return aPromise
instead of a callback usage (#β3421)setRTLTextPlugin
function to return a promise instead of using callback (#β3418) this also changed how the RTL pluing code is handled internally by splitting the main thread and worker thread code.setCooperativeGestures
andgetCooperativeGestures
functions in favor ofcooperativeGestures
handler which now has anenabled()
ordisabled()
methods (#β3430)WorkerSource
and how it behaves (#β3233)Source
interface to return promises instead of callbacks (#β3233)map.loadImage
method to return aPromise
instead of a callback usage (#β3233)Add "opacity" option and
setOpacity
method to Marker (#β3620)Created a new example showing how to place a threejs scene as a
CustomLayer
over maplibre 3d-terrain (#β3429)Changed
ImageRequest
to bePromise
based (#β3233)Improved precision and added a subtle fade transition to marker opacity changes (#β3431)
Adds support for terrain in
setStyle
with diff method (#β3515, #β3463)Upgraded to use Node JS 20 and removed the dependency of
gl
package from the tests to allow easier develpment setup. (#β3452)π Bug fixes
Map
type in thed.ts
file (#β3564)trackPointer
method active (#β3434)Actor
against XSS attacks in postMessage / onmessage (#β3239)v3.6.2
Compare Source
π Bug fixes
v3.6.1
Compare Source
π Bug fixes
undefined
_onEaseFrame
call inCamera._renderFrameCallback()
while doingCamera.jumpTo
during aCamera.easeTo
(#β3332)v3.6.0
Compare Source
β¨ Features and improvements
fullscreen
example (#β3311)π Bug fixes
v3.5.2
Compare Source
β¨ Features and improvements
π Bug fixes
isWebGL2
check (#β3238)v3.5.1
Compare Source
π Bug fixes
v3.5.0
Compare Source
β¨ Features and improvements
v3.4.1
Compare Source
β¨ Features and improvements
π Bug fixes
v3.4.0
Compare Source
β¨ Features and improvements
π Bug fixes
v3.3.1
Compare Source
β¨ Features and improvements
π Bug fixes
Map.getLayer()
andStyle.getLayer()
to beStyleLayer | undefined
to 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): Map
to beMap.setTerrain(options: TerrainSpecification | null): Map
per the API spec (#β2993)Map.getTerrain(): TerrainSpecification
to beMap.getTerrain(): TerrainSpecification | null
for consistency with the setTerrain function (#β3020)v3.3.0
Compare Source
β¨ Features and improvements
text-variable-anchor-offset
symbol style layer property (#β2914)v3.2.2
Compare Source
β¨ Features and improvements
cache
parameter toRequestParameters
(#β2910)π Bug fixes
v3.2.1
Compare Source
β¨ Features and improvements
cooperated gestures
example to the doc.(#β2860)π Bug fixes
v3.2.0
Compare Source
β¨ Features and improvements
className
option to Marker constructor (#β2729)Marker
constructor parameter (#β2756)check-for-support
example (#β2859)π Bug fixes
Style.serialize()
when the style hasn't loaded yet (#β2712)checkMaxAngle
when a label with length 0 is on the last segment of a line (#β2710)tap then drag
zoom gesture detection to abort when the two taps are far away (#β2673)v3.1.0
Compare Source
β¨ Features and improvements
π Bug fixes
v3.0.1
Compare Source
β¨ Features and improvements
π Bug fixes
RequestTransformFunction
type to return RequestParameters or undefined (#β2586)EXT_color_buffer_float
WebGL2 extension to fix heatmap in firefox (#β2595)v3.0.0
Compare Source
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 Mend Renovate. View repository job log here.