createMapFromContext() ​
createMapFromContext(
context,mapOptions):Map$1
Create a Maplibre map from a context; map options need to be provided. The function returns synchronously; all asynchronous modifications are stacked in a promise chain stored on the map.
Parameters ​
| Parameter | Type | Description |
|---|---|---|
context | MapContext | - |
mapOptions | MapOptions | - |
Returns ​
Map$1