Version:
Popular examples
Map
Geo objects
Balloon and hint
Controls
Hotspots
Regions
Clustering
GeoQuery
Behaviors and events
Search on a map
Traffic
User's location
Routing
YMapsML
GeoXML
ObjectManager
Modular system
Panoramas
External modules

Editing a multiroute

Save as filesEdit on JSFiddle

The link to the route editor is located in the editor field for an instance of the multiRouter.MultiRoute class.

To turn the multiroute edit mode on/off, use the functions start() and stop (), respectively.

When you turn on the edit mode, the start() function may be passed the editing parameters. For a list of valid parameters, see the comments in the code.

Note that the parameters midPointsType (a type of intermediate points that can be added when editing) and drawOver (forbidding adding points on top of map objects) are passed in the router parameters with the "editor" prefix.