Answer the question
In order to leave comments, you need to log in
How to get coordinates or id by clicking on a geo object in Yandex.Maps?
Hello.
I have objects on the map specified through geoCollection.
There is a need to get the coordinates by clicking on a label from the collection. Tried by analogy with myPlacemark
myMap.geoObjects.events.add('click', function (e) {
var object = e.get('coords');
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question