Skip to content

createMapFromContext() ​

createMapFromContext(context, target?): Map

Create an OpenLayers map from a context; optionally specify a target (root element) for the map

Parameters ​

ParameterTypeDescription
contextMapContext-
target?string | HTMLElement-

Returns ​

Map