Documentation
Reference
2.1.56 (current version)
collection
interactivityModel
Interfaces

IPanoramaMarker

Interface describing markers on the panorama.

Constructor | Fields | Methods

Constructor

IPanoramaMarker()

Fields

NameTypeDescription
propertiesdata.Manager

Additional marker properties.

Methods

NameReturnsDescription
getIconSet()

vow.Promise

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

Returns the panorama the marker belongs to.

getPosition()

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 [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.

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.