geospatial-sdk / openlayers/lib / resetMapFromContext
resetMapFromContext()
ts
function resetMapFromContext(map, context): Promise<Map>Resets an OpenLayers map from a context; existing content will be cleared
Parameters
• map: Map
• context: MapContext
Returns
Promise<Map>