Skip to content

resetMapFromContext() ​

resetMapFromContext(map, context): Promise<Map>

Resets an OpenLayers map from a context; existing content will be cleared

Parameters ​

ParameterTypeDescription
mapMap
contextMapContext

Returns ​

Promise<Map>