Answer the question
In order to leave comments, you need to log in
How to open not a balloon, but a div block when clicking on a label?
Hello comrades! Please help me figure it out.
Is it possible to open not a standard balloon, but a specific div in Yandex Map when clicking on a placemark? Could you please give an example.
For example, I know that Google Maps has such an opportunity:
google.maps.event.addListener(marker, 'click', (function (content, item) {
return function () {
// Показываем информационное окна
$("#information_window").css("visibility", "visible");
$("#information_window").css("opacity", "1");
};
})(markers_information, item));
Answer the question
In order to leave comments, you need to log in
myPlacemark.events.add('click', function (e) {
alert('Привет, покажи-ка div :)');
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question