On Sep 29, 12:08 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Sep 28, 11:43 pm, nekin <[EMAIL PROTECTED]> wrote: > > > Thanks Mike -- > > > actually i want to find ROAD DISTANCE between two points. > > so in that case "GLatLng.distanceFrom()" will work for me or not ? > > No. Read the documentation, it is the straight line distance. > > > > > actually i have latitude and longitude of two point with me and i want > > to find ROAD DISTANCE between those two points. And so far i have read > > in forums we can not have road distance between two lat and long > > points > > Read again, in particular the GDirections object. It will do > directions using coordinates (assuming driving directions are > supported in the area).
But... > since in my application there is no web interface so i think i can not > work java script and etc stuff. Then if you read the TOU you can't use the Google Maps API either... > > -- Larry > > > so i will convert them into post codes and i think ROAD DISTANCE > > between two postcode can be found .... what is your suggestion in > > that ? > > > thks > > nekin > > > On Sep 27, 9:22 pm, Mike Williams <[EMAIL PROTECTED]> wrote: > > > > Google themselves don't currently provide areversegeocodingweb > > > interface. There are a number ofreversegeocodingproviders listed > > > here: > > > >http://groups.google.com/group/Google-Maps-API/web/resources-non-goog... > > > eocoders > > > > To calculate the distance between two postcodes, you first have to > > > geocode them. If you have Javascript you can then use > > > GLatLng.distanceFrom(). If not, you'll need to implement something like > > > the Haversine formula in whatever language you do have. > > > > --http://econym.org.uk/gmap > > > The Blackpool Community Church Javascript Team- Hide quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
