On Sep 14, 8:21 am, siva <[email protected]> wrote:
> Hi
>
> Thanks for your reply. It is relevant to my question but I didn't get
> the answer for my question from that.  It displayed latitude and
> longitude. How to get the driving distance from that? We should use
> gDir for calculating the driving distance and it s not allowing
> multiple calls at a time. So how can solve this issue?

Did you find this...?

"Assuming it's AB, AC, AD... and driving directions, you need to
perform multiple GDirections requests. Take care to space them out so
you don't fall foul of the rate limit. This page is relevant
http://econym.org.uk/gmap/geomulti.htm -- although it deals with
geocoding, directions are similar."

Instead of multiple operations which geocode a single point, you need
multiple operations which each get a route. Mike's first example at
that page calls the geocoder for the next result each time a result is
returned. You need to do the same thing except use the Directions
service instead of the geocoder.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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