> >http://www.puertovallartavirtualtour.com/index_near2.php > > This webpage is not available.
hmm wierd, I am looking at it right now... anyways, it works now, thanks a lot :) On Mar 21, 4:33 pm, "[email protected]" <[email protected]> wrote: > On Mar 21, 10:46 am, Shanti <[email protected]> wrote: > > > Larry, I feel stupid now... My problem was that the map.setCenter() of > > the map was not working correctly. > > > The webpage athttp://www.puertovallartavirtualtour.com/index_near2.php > might be temporarily down or it may have moved permanently to a new > web address. > > > > > you can see the test code there, but now its working perfectly from > > 0-360° > > > Thanks for all the help! > > You are welcome. > > -- Larry > > > > > :) > > > On Mar 21, 11:28 am, "[email protected]" <[email protected]> > > wrote: > > > > On Mar 21, 10:23 am, "[email protected]" <[email protected]> > > > wrote: > > > > > On Mar 21, 10:00 am, Shanti <[email protected]> wrote: > > > > > > ok, the code worked perfectly except for one thing, it does not show > > > > > if its east or west (e.g a marker on the left shows 220.10 and a > > > > > marker on the right shows 220.10, instead or -220.10) any idea how to > > > > > fix this? > > > > > I don't have that problem on my pages that use the code. > > > > Where is a link to a map that shows what you are talking about? > > > > Actually: > > > -220 === +140 > > > Depending on how you code things for an angle in degrees you can get: > > > -180 to +180 > > > or > > > 0 to 360 > > > 0 to 180 is east > > > 0 to -180 or 180 to 360 is west > > > > I guess I don't understand why a marker on the right (to the east) > > > would return a bearing of 220... > > > > -- Larry > > > > > -- Larry > > > > > > Thanks! :) > > > > > > On Mar 20, 2:10 am, Mike Williams <[email protected]> wrote: > > > > > > > Wasn't it neil.young who wrote: > > > > > > > >Does one know, whether the JS API function is a great-circle > > > > > > >distance > > > > > > >calculation? The bearing calculatios seems to be it. > > > > > > > GLatLng.distanceFrom() considers the Earth to be a perfect sphere. > > > > > > So > > > > > > you get great circle distances that would be the case if the Earth > > > > > > wasn't oblate. > > > > > > > --http://econym.org.uk/gmap > > > > > > The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
