Hello,
I am attempting to build an app based on this example -
http://gmaps-samples-v3.googlecode.com/svn/trunk/elevation/elevation-profile.html- but with only the direct route as an option as this is intended for giving approximate route info for things like cross country running - across fields etc and not sticking to roads or walking routes, so I cannot use the directions service to return a distance as some start and end points simply are not recognised, others will take enormous detours around the nearest roads etc in some case more than doubling the total journey so using the directions service is not an option.
All routes will have a start and end point, some will have several marker points along the way and I want to retain the drag and drop functionality so an event listener to calculate the new distance is also required.
I have the basic script to calculate the distance between two lat,long points but wondered if something already exists to render this functionality before I set off and script it from scratch?
Thanks.