H
H
hidden_pingvin2015-06-01 22:03:32
JavaScript
hidden_pingvin, 2015-06-01 22:03:32

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'");

But this design doesn't work. How to be? Or is there another way to remove a route?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question