---
metadata:
  - name: generator
    content: Diplodoc Platform v5.39.1
alternate:
  - https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IPanoramaMarker.md
  - https://yandex.com/dev/jsapi-v2-1/doc/ru/v2-1/ref/reference/IPanoramaMarker.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/jsapi-v2-1/doc/en/llms.txt

# IPanoramaMarker

Interface describing markers on the panorama.

[Constructor](#constructor-summary) | [Fields](#properties-summary) | [Methods](#methods-summary)

## Constructor {#constructor-summary}

```javascript
IPanoramaMarker()
```

## Fields {#properties-summary}

#|
|| **Name** | **Type** | **Description** ||
|| [properties](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IPanoramaMarker.md#properties) | [data.Manager](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/data.Manager.md) | Additional marker properties. ||
|#

## Methods {#methods-summary}

#|
|| **Name** | **Returns** | **Description** ||
|| [getIconSet](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IPanoramaMarker.md#getIconSet)() | [vow.Promise](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/vow.Promise.md) | Returns a promise object that will be resolved by an object that implements the interface [IPanoramaMarkerIconSet](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IPanoramaMarkerIconSet.md) and contains images for all the marker states. ||
|| [getPanorama](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IPanoramaMarker.md#getPanorama)() | [IPanorama](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IPanorama.md) | Returns the panorama the marker belongs to. ||
|| [getPosition](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IPanoramaMarker.md#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 {#field_detail}

### properties {#properties}

```javascript
{data.Manager} properties
```

Additional marker properties.

## Methods details {#method_detail}

### getIconSet {#getIconSet}

```javascript
{vow.Promise} getIconSet()
```

**Returns** a promise object that will be resolved by an object that implements the interface [IPanoramaMarkerIconSet](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IPanoramaMarkerIconSet.md) and contains images for all the marker states.

### getPanorama {#getPanorama}

```javascript
{IPanorama} getPanorama()
```

**Returns** the panorama the marker belongs to.

### getPosition {#getPosition}

```javascript
{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.