Draggable route lines

This sample shows how to make a route line draggable. This sample uses two data sources, one for rendering the route line, and one for rendering a out preview which is updated frequently on mouse move. HTML Markers are used for points as these are easy to drag around on the map. An optional feature in this example deletes a waypoint when its right clicked.