Hi..
I don´t understand very well JavaScript, Ajax and Html..I´m begining now
programing.
Please some person help me...
Post a example of how I can do this..(Code or Website)
Calculate the distance between two points ((not for Route) for Straight
line)...measuring in km/metters or Lat/Lng
Please..post a example of a code that do this.
Thanks
Basso



-----Mensagem original-----
De: [email protected]
[mailto:[email protected]] Em nome de [email protected]
Enviada em: quarta-feira, 2 de setembro de 2009 01:44
Para: Google Maps API
Assunto: Re: How can i measure the distance between two points


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.distan
ceFrom
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