I an using Google mapping to create the driving map and directions of a three to six segment route. I have code attached that shows the path, miles driven and time driven. The real issue is to optimize the route. In the code attached, I have two segments predefined that show the difference.
I need help figuring out the best way to improve the code and optimize the route to the shortest.
The attached txt file needs to be renamed to ans asp file
In order to run it, a Google Key has to be generated. Please go to : http://code.google.com/apis/maps/signup.html
to obtain your free key