Does one know, whether the JS API function is a great-circle distance calculation? The bearing calculatios seems to be it.
Regards Shanti schrieb: > Thanks Larry! much helpful :D > > On Mar 20, 1:34 am, "[email protected]" <[email protected]> > wrote: > >> On Mar 20, 12:14 am, Shanti <[email protected]> wrote: >> >> >>> Hello, I am working on a nearby marker locator, I got the code working >>> (offline) using MySQL and PHP and its working very nice. my question >>> is. >>> >>> Is there a way in (JS or PHP in the Google maps api), that will tell >>> me in what direction is that nearby marker located? either by North, >>> South, East, West, or even better by Degrees (Example: 90° East) >>> >>> my database contains the lat and lon of all the markers I am using but >>> the idea is to create them dynamically and have the direction setup >>> automatically as well, finding the direction is just driving me >>> insane, any help will be GREATLY appreciated :) >>> >> From Mike Williams' tutorial: >> Part 8 Calculating the straight line distance and bearing direction >> between two points.http://econym.org.uk/gmap/dist.htm >> >> -- 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 -~----------~----~----~----~------~----~------~--~---
