Answer the question
In order to leave comments, you need to log in
How to find and remove a route using geoQuery?
The task is to remove the route. When creating it, I give the route a name: route.name='myway';
In another part of the program, I try to find it:
var result = ymaps.geoQuery(myMap.geoObjects).search("name = 'myway'");
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