panorama.locate
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])
Parameters:
Parameter |
Default value |
Description |
ā |
Type: Number[] The point for searching for nearby panoramas. |
|
ā |
Type: Object Options. |
|
'yandex#panorama' |
Type: String The layer to search for panoramas. There are two layers available:
|
* Mandatory parameter/option.
Mandatory parameter/option.