@mapgear/mapengine > MapEngineFactory > CreateMap
MapEngineFactory.CreateMap() method
Create a new map and add it to the DOM
Signature:CreateMap(target: string, options: MapOptions): Map;
Parameters
Parameter | Type | Description |
---|---|---|
target | string | the target DOM element where the map should be created |
options | MapOptions | The options passed to the create method |