> When i call showLocation()  method multiple times in a loop then
> function is not calculate distance the code is as follow

I don't see anywhere you call showLocation() in a loop?

It's generally bad practice to call geocoding or directions
asynchronous services in a loop, see
http://econym.org.uk/gmap/geomulti.htm

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