I guess you'd need none of the given examples above because you need
the distance between two points.

Here you can use the same scheme as above

distanceFrom(other:GLatLng)

is in class GLatLng

so you can use

GLatLng.distanceFrom(other:GLatLng)




On Sep 18, 10:54 am, "Pil (Trustworthy from Experience)"
<[email protected]> wrote:
> On Sep 18, 10:21 am, Paybak <[email protected]> wrote:
>
> > Dosn't really explain the syntax needed to construct it.
>
> Yes, it does. You only have to search the context to which the method
> belongs.
>
> getDistance() is in class GRoute
>
> so you can use:
>
> GRoute.getDistance()
>
> and in class GStep
>
> so you can use
>
> GStep.getDistance()
>
> and in class GDirections
>
> so can use
>
> GDirections.getDistance()
--~--~---------~--~----~------------~-------~--~----~
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