Hey ,

http://www.itwiz.co.in/maps/distance_simple.html

In this map I have set a couple of predefined locations . The user is
to click on the map and its my job to calculate the distance between
his point and the predefined points and choose the shortest route and
show it on the map . However this is not happening . Is there some
sort of listener for the getDirections() function as well ? Its
supposed to show the 4 distances between the user point and the set
points and then choose the smallest route and show it on the map .
However it invariably always ends up choosing the userDestination[0]
point even if the source is closer to some other point .

thanks
Jit
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to