Answer the question
In order to leave comments, you need to log in
How to catch the polygon drawing end event (yandex maps v2.1)?
I am implementing a custom button element for drawing polygons on the Yandex map.
When the button is clicked, the following happens:
var shape = new ymaps.Polygon([], {}, drawOpts);
map.geoObjects.add(shape);
shape.editor.startDrawing();
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