Skip to content

applyContextDiffToMap() ​

applyContextDiffToMap(map, contextDiff): Map$1

Apply a context diff to an MapLibre map. The function returns synchronously; all asynchronous modifications are stacked in a promise chain stored on the map.

Parameters ​

ParameterTypeDescription
mapMap$1-
contextDiffMapContextDiff-

Returns ​

Map$1