Static function.

Searches for a panorama at the specified point and layer. The result of the query is an array of found panoramas, represented as Panorama objects.

Returns the promise object that will be resolved by an array of found panoramas (if no panoramas found, the array will be empty) or rejected with the error description.

{ vow.Promise } panorama.locate(point[, options])


Parameter Default value Description
point *

Type: Number[]

The point for searching for nearby panoramas.


Type: Object


options.layer 'yandex#panorama'

Type: String

The layer to search for panoramas. There are two layers available:
  • yandex#panorama - Land panoramas,
  • yandex#airPanorama - Aerial panoramas.

* Mandatory parameter/option.