fix(deps): update dependency maplibre-gl to v4 #2687
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:
3.6.2
->4.7.1
Release Notes
maplibre/maplibre-gl-js (maplibre-gl)
v4.7.1
Compare Source
🐞 Bug fixes
v4.7.0
Compare Source
✨ Features and improvements
map.on
,map.once
andmap.off
methods (#4570)maxzoom
is less than or equal toclusterMaxZoom
since in this case you may see unexpected results. (#4604)🐞 Bug fixes
addSource
andgetSource
(#4616)fitBounds
andcameraForBounds
would not display across the 180th meridian (antimeridian)lngRange
. This caused a bug whereusing
transformCameraUpdate
caused themaxBounds
to stop working just for east/west bounds. (#4625)v4.6.0
Compare Source
✨ Features and improvements
🐞 Bug fixes
getStyle()
to return a clone so the object cannot be internally changed (#4488)undefined
(#4587))v4.5.2
Compare Source
✨ Features and improvements
🐞 Bug fixes
v4.5.1
Compare Source
✨ Features and improvements
cooperativeGestures
setting, bringing it in line with other embedded map behaviours, such as Google Maps and Mapbox. (#4465)moveend
(#4458)🐞 Bug fixes
style.loadURL
abort error being logged when removing style (#4425)v4.5.0
Compare Source
✨ Features and improvements
🐞 Bug fixes
v4.4.1
Compare Source
🐞 Bug fixes
terrain
listener memory leak when adding and removing Marker (#4284)v4.4.0
Compare Source
✨ Features and improvements
GeolocateControl
to allow a more granular interaction (#3847)MapOptions.style
optional to be consistent withMap.setStyle(null)
(#4151)aria-label
configurable for Map, Marker and Popup (#4147)<canvas>
is focusable only when interactive (#4147)🐞 Bug fixes
symbol-placement
isline
orline-center
(#4124)-ms-high-contrast
vendor prefix to(forced-colors: active)
and(prefers-color-scheme: light)
as appropriate (#4250)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 plugin 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 development setup. (#3452)🐞 Bug fixes
Map
type in thed.ts
file (#3564)trackPointer
method active (#3434)Actor
against XSS attacks in postMessage / onmessage (#3239)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 was generated by Mend Renovate. View the repository job log.