Answer the question
In order to leave comments, you need to log in
How to open a balloon on Yandex.Maps using a link?
Situation:
there is a map with marks. When you click on a link from outside, you need to open the balloon of a certain label.
Answer the question
In order to leave comments, you need to log in
upd:
if (window.location.hash != '') {
var hash = window.location.hash.substr(1);
pm = ymaps.geoQuery(myGeoObjects).search('properties.name == "' + hash + '"').getCenter(myMap);
myMap.setCenter(pm);
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question