Answer the question
In order to leave comments, you need to log in
How to remove circle from Yandex maps without touching other objects?
Hello, I need to calculate the cost of delivery and display the elements located in the required radius from the beginning of the route. I am not strong in js and Yandex maps api, so I took an example of calculating the cost of delivery (from the Yandex sandbox) and hung it on the coordinates of the beginning of the route
circle = new ymaps.Circle([position, 1000], null, { draggable: false });
this._map.geoObjects.add(circle);
then I add the necessary labels and so on. But I ran into a problem, how can I remove the circle from the previous beginning of the route when setting a new beginning of the route? 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