Get Dragged Route Waypoints Sample This sample shows how to use the directions managers getAllWaypoints function to retrieve all the waypoints used to generate a route. This will also include viaWaypoints that were added by dragging the route. Drag the rendered route to see the table update.