On Sep 2, 5:26 pm, Rafa <[EMAIL PROTECTED]> wrote:
> Andrew,
>
> I have one more question, for now i just need to know the distance
> between the zipcodes, i dont need route and time....
>
> I need to find in the code where is the distance, cuz i need to make a
> rapport just saying the distance between 2 zipcodes.... i need to do
> that for 1.000 zipcodes.

You could always read the documentation. The GDirections class can
return a getDistance() object, so you can get the driving distance
with .getDistance().meters; or you can use the .distanceFrom() method
of GLatLng() to get a straight-line distance --
point.distanceFrom(otherPoint)

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