IPanoramaMarker
Interface describing markers on the panorama.
Constructor | Fields | Methods
Constructor
IPanoramaMarker()
Fields
Name |
Type |
Description |
Additional marker properties. |
Methods
Name |
Returns |
Description |
Returns a promise object that will be resolved by an object that implements the interface IPanoramaMarkerIconSet and contains images for all the marker states. |
||
Returns the panorama the marker belongs to. |
||
Number[] |
Returns the marker's position in the coordinate system of the panorama that the graph containing the node belongs to. Set in the format |
Fields details
properties
{data.Manager} properties
Additional marker properties.
Methods details
getIconSet
{vow.Promise} getIconSet()
Returns a promise object that will be resolved by an object that implements the interface IPanoramaMarkerIconSet and contains images for all the marker states.
getPanorama
{IPanorama} getPanorama()
Returns the panorama the marker belongs to.
getPosition
{Number[]} getPosition()
Returns the marker's position in the coordinate system of the panorama that the graph containing the node belongs to. Set in the format [lon, lat, height]
, [lat, lon, height]
or [x, y, height]
depending on the coordinate system and order. height
– the height of the marker in meters, set relative to the same level as the height of the panorama.