geospatial-sdk / maplibre/lib / createMapFromContext
createMapFromContext()
ts
function createMapFromContext(context, mapOptions): Promise<Map>Create an Maplibre map from a context; optionally specify a target (root element) for the map
Parameters
• context: MapContext
• mapOptions: MapOptions
Returns
Promise<Map>