This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
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.0
Release Notes
maplibre/maplibre-gl-js (maplibre-gl)
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: 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 has been generated by Mend Renovate. View repository job log here.