Create a line with clicks, then convert that to a list of points This shows how to create a list of waypoints, track points, or route points with a Google Maps front end.
Segment distance : Total distance :