On Sep 2, 10:30 am, Rafa <[EMAIL PROTECTED]> wrote:
> Andrew,
>
> Sorry for all the questions, but i read the documentation, and could
> find how to use "getDistance", i just found what "getDistance" is...
>
> If you know a link with the example or how to use, gonna help me a
> lot.

You could try starting with this page:
http://www.geocodezip.com/example_geo2.asp

and adding your own code to access the getDistance method after the
result has returned from the directions call.

  -- Larry

>
> Thx
>
> Rafael
>
> On 2 set, 13:38, Rafa <[EMAIL PROTECTED]> wrote:
>
>
>
> > Ok,
>
> > Thx again!!
>
> > On 2 set, 13:31, "warden [Andrew Leach - Maps API Guru]"
>
> > <[EMAIL PROTECTED]> wrote:
> > > 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- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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