On Jul 7, 8:02 am, Laxman <[email protected]> wrote:
> I am new to Google map API. I have a requirement as  follows. I need
> to find out distance between multiple places including steps exactly
> like the way it works in “http://maps.google.com/”under “Get
> Directions” section. I am able to calculate the distance between two
> places perfectly but failed  to get it for all the places at a time.
> Using for loop I am able to pass the two places like (address1,
> address2 ) then (address2, address3) etc. but  unable to find out a
> way to handle the responses and always get the values for the last
> pair. Also I don’t know how to get the steps. Presently I am trying
> without loading the map.  Please provide me suggestion or sample code.

Get directions "from: A to: B to: C to: D"

Analysing GDirections in Javascript is demonstrated by Mike at
http://econym.org.uk/gmap/steps.htm

Andrew
--~--~---------~--~----~------------~-------~--~----~
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