On 3 May 2011 15:40, Thoern <turbokil...@gmail.com> wrote: > Found a post that stated one could extrace distance between 2 points > by using > > distance = Math.sqrt((69.1*(cy-lat))*(69.1*(cy-lat))+(53.0*(cx-lng))* > (53.0*(cx-lng)));
I think it's point 1: (cy,cx) ie, latitude, longitude point 2: (lat, lng) ...but I'd be very surprised if that actually worked for any two arbitrary points. Which post did you find? See the Haversine formula, at the top of the page at http://www.movable-type.co.uk/scripts/latlong.html (and other places, but it's laid out nicely there) -- 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 google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.