You can search on google for the Haversine formula. You can find a javascript implementation in this ruler for google maps v.3: http://www.barattalo.it/2009/12/19/ruler-for-google-maps-v3-to-measure-distance-on-map/
giulio ----- Original Message ----- From: Anthony Puggioni To: [email protected] Sent: Tuesday, December 29, 2009 5:38 PM Subject: Re: [Google Maps API v3] Distance between 2 points in V3 It's not exactly what i was looking for. I want to calculate distance between two point in straight line, and i could not find anything in the doc. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
