maplibre-gl
Advanced tools
Changelog
4.0.0-pre.3
addProtocol
and removeProtocol
there (#3459) - this also changed how addSourceType
works since now you'll need to load the script with maplibregl.importScriptInWorkers
.gl
package from the tests to allow easier development setup. (#3452)setStyle
with diff method (#3515, #3463)Changelog
4.0.0-pre.2
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
's getClusterExpansionZoom
, getClusterChildren
, getClusterLeaves
methods to return a Promise
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
and getCooperativeGestures
functions in favor of cooperativeGestures
handler which now has an enabled()
or disabled()
methods (#3430)CustomLayer
over maplibre 3d-terrain (#3429)trackPointer
method active (#3434)Changelog
4.0.0-pre.1
ImageRequest
to be Promise
based (#3233)WorkerSource
and how it behaves (#3233)Source
interface to return promises instead of callbacks (#3233)map.loadImage
method to return a Promise
instead of a callback usage (#3233)Actor
against XSS attacks in postMessage / onmessage (#3239)