B
B
bbquite2019-05-25 15:18:25
JavaScript
bbquite, 2019-05-25 15:18:25

How to remove labels from the route, but leave the route itself?

There are markers on the map in advance, when you click on the button, the route should rely between them: js

ymaps.route(route, {
    mapStateAutoApply: true
}).then(function (route) { route_map.geoObjects.add(route);});

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bbquite, 2019-05-25
@WebDev921

If anyone is also interested, I decided through the use of the 'viaPoint' type which denotes a transit point.
{ type: 'viaPoint', point: 'Мытищи' }

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question