Made some test again, and it's a bit more accurate ... but like Ryan says, it definitely needs an outside clear sky use. try it here http://www.remi-grumeau.com/iphone/geolocalisation_test.php <http://www.remi-grumeau.com/iphone/geolocalisation_test.php>(simple HTML5 geolocalisation use and put back onto a Google Maps API)
On Thu, Nov 12, 2009 at 00:36, Ahrjay <[email protected]> wrote: > > On Nov 8, 9:39 am, Daniel Larkin <[email protected]> wrote: > > Do I need to make multiple calls to geolocation perhaps? > > Depends how you are calling it. Are you watching the position object > so it fires everytime the gps gets a new location? > > From the spec "The API itself is agnostic of the underlying location > information sources." meaning it will work with what it has available. > On the iPhone it'll use GPS, Cell Tower Triangulation and/or IP > address. If you results aren't great it may not be using the GPS and > falling back to one of the other options. > > I wrote an article and did a demo on using the geolocation api on the > iPhone. http://www.thecssninja.com/javascript/geolocation-iphone, I > get very accurate results when using it outside with a clear view of > the sky. > > -Ryan > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google Groups > "iPhoneWebDev" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<iphonewebdev%[email protected]> > For more options, visit this group at > http://groups.google.com/group/iphonewebdev?hl=en > -~----------~----~----~----~------~----~------~--~--- > > -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" 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/iphonewebdev?hl=.
