I want to plot optimized route in google map using map api v3. I will have list of waypoints and start location but i don know the end point. So how can i find distant point (from my list of waypoints) from the given start location.
Example
I'm using below link for web services
In above url know my origin ie chennai. but i dont know destination. My destination will be one from list of waypoints.
One way of finding destination is using distance from origin pt. but it is not efficient also i have to send this request for n times based on number of waypoints.
So how can i find destination point which will be distant from origin (chennai) in efficient and simpler way?