geospatial-sdk / openlayers/lib / createMapFromContext
createMapFromContext()
ts
function createMapFromContext(context, target?): Promise<Map>
Create an OpenLayers map from a context; optionally specify a target (root element) for the map
Parameters
• context: MapContext
• target?: string
| HTMLElement
Returns
Promise
<Map
>