A Marker is an icon placed at a point on or above the map’s surface. They can have some title text attached to them, and can additionally be placed indoors.
Instantiate a marker at a given location, optionally indoors.Returns:
A WRLDMarker instance.
The coordinate to place this marker at.
The ID of an indoor map this marker should be inside. (See WRLDIndoorMap).
An index specifying which floor of the indoor map this marker should be on. (See WRLDIndoorMap).
The location of the marker.
The height of the marker above either the ground, or sea-level, depending on the elevationMode property.
Specifies how the elevation property of this marker is interpreted:
WRLDElevationModeHeightAboveSeaLevel: The elevation is an absolute altitude above mean sea level, in meters.
WRLDElevationModeHeightAboveGround: The elevation is a height relative to the map’s terrain, in meters.
When markers overlap, this property determines which one appears on top of the other.
The text label to display next to the marker.
The name of the label style to use. The list of supported styles has not been stabilized yet and this can be left as the default value.
Optional JSON user data associated with this marker.
A string used to determine which icon is displayed for this marker.
The ID of the indoor map this marker is associated with - if any.
The index of the floor this marker is associated with - if any.