@mapgear/geoapps > GeoApps > AddMap
GeoApps.AddMap() method
Warning: This API is now obsolete.
We advise to use AddMap2 instead
Add a map to the specified target
Signature:AddMap(target: string, mapId: string, workpaceId?: string): Map;
Parameters
Parameter | Type | Description |
---|---|---|
target | string | The id (without hashtag) of the DOM-element where the map needs to be initialized, mostly a div-tag |
mapId | string | The GeoApps mapId to load |
workpaceId | string | (Optional) |