I can not find the property in the documentation that allows you to include the ability to add points to the route. As in the picture:

How to get the implementation of control.RoutePanel with the addition of a point

Standard script:

routePanelControl = new ymaps.control.RoutePanel({ options: { // Добавим заголовок панели. showHeader: true, title: '' } }), 

renders only the choice of two points and reset the route.

    1 answer 1

    RoutePanel does not allow intermediate points to be added to a route. The screenshot shows a panel on Yandex.Maps, which is not provided as a standard control in the API.

    You can create a route with intermediate points and your own panel yourself, for example, through the multi- route editor or by specifying intermediate points in the multi-route model ( example ).

    • Thank! I saw and sorted out these examples. The multi-route editor provides for a static indication of points, and I need to get points from RoutePanel (dynamically, choose on the map). - Vlad
    • @Vlad you will need to assemble your dashboard, because the API does not have a ready control with the ability to specify intermediate points. In the sandbox there is an example on your own control - you need to make your own panel with inputs and the "add point" button. - Reni
    • Thank! I solved this problem! I used the route editor, with an empty referencePoints array, the editor builds on the map. But another problem arose - I made a route delete button (myMap.geoObjects.remove (multiRoute) attached to it), but when I click on the route button, the route editor stops working. A page reload is required for the editor to start working again. - Vlad
    • The editor is enabled on a specific route. Try not to delete the route, but, for example, clear referencePoints. - Reni