V
V
Vladislav Bezenson2018-03-21 16:38:12
JavaScript
Vladislav Bezenson, 2018-03-21 16:38:12

How to add a marker to Yandex Panorama?

I'm trying to add a marker to the Yandex panorama, but it doesn't work. There is an example on the Yandex website, but with its own tiles ( https://tech.yandex.ru/maps/jsbox/2.1/panorama_wit... ). I get the panorama via `ymaps.panorama.locate(coord)`. And I need to add a marker to it.
I tried declaring a new class and adding a getMarkers method, but in my example where `console.log` there are still no markers: (_markers)
https://codepen.io/inferusvv/pen/aYJxgr

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2018-03-21
@freeExec

There are no markers in panoramas.
This example is not about that at all.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question