Skip to content

createMapFromContext() ​

createMapFromContext(context, mapOptions): Promise<Map$1>

Create a Maplibre map from a context; map options need to be provided

Parameters ​

ParameterTypeDescription
contextMapContext
mapOptionsMapOptions

Returns ​

Promise<Map$1>