is there a route, as when changing one of the addresses, to rebuild only one of the route points, and not the entire route?

Пример https://jsfiddle.net/hmfeay5o/4/ 
  • Remove the old route and build a new one with the new data - Roman69
  • I know this method, so I ask whether it is possible as in the question =) - user3797911
  • Why do you want to rebuild only one of the route points, and not the entire route? - se0ga

1 answer 1

You can change the address and coordinates of the route point, but it still leads to a new query and rebuild.

 multiRoute.getWayPoints().get(0).model.setReferencePoint('Льва Толстого 16, Москва') 

Example: https://jsfiddle.net/7ntkxhcL/
Documentation: https://tech.yandex.ru/maps/doc/jsapi/2.1-dev/ref/reference/multiRouter.WayPointModel-docpage/#method_detail__setReferencePoint