On Sep 1, 4:59 pm, Felipe <[email protected]> wrote:
> Hi...and how can i measure two point utilizing a straight line?
> because when I try do this..the line transform in route..follow
> streets for city...I realy want do a line Straight !!
> Please .. how I can do this?

http://code.google.com/apis/maps/documentation/reference.html#GLatLng.distanceFrom
calculates the straight line distance on the surface of the globe...

If you don't want to follow the streets don't use GDirections to
calculate the directions...

  -- Larry

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