Skip to content

resetMapFromContext() ​

resetMapFromContext(map, context): Promise<Map$1>

Resets a Maplibre map from a context; existing content will be cleared

Parameters ​

ParameterTypeDescription
mapMap$1
contextMapContext

Returns ​

Promise<Map$1>