Skip to main content

@mapgear/geoapps > GeoApps > GetMap

GeoApps.GetMap() method

Retrieve the GeoApps map-object specified by the id that is used

Signature:
GetMap(target: string): Map;

Parameters

ParameterTypeDescription
targetstringThe id (without hashtag) of the DOM-element where the map is bound to
Returns:

Map

GeoApps Map-object bound to the specified dom-element, or null if no map is initialized