Which is not true. You can get lat, long, altitude, accurancy via window.geolocation API Then you to compare positions each needed interval to get a speed.
For heading, you can play with the accelerometer http://www.albertosarullo.com/blog/javascript-accelerometer-demo-source Have fun R. On Tue, May 17, 2011 at 08:43, Thoern <turbokil...@gmail.com> wrote: > Ok it seems its not possible to reach it with html 5 or javascript, > now only with iphoneGap and regular "app" envoirment. > hopfully in future.. > > > On 12 Maj, 18:52, Mogens Beltoft <mog...@beltoft.dk> wrote: >> The iPhone has an internal compass, apart from the >> AGPS.http://theiphonewiki.com/wiki/index.php?title=Compass >> >> The text you found describes how to obtain a pseudo-compass heading. >> >> /Mogens >> >> On 12-05-2011 12:43, Thoern wrote: >> >> >> >> > Aha >> > I found a page that seems to explain the iphone compass >> >> > "Given that we know our position, in latitude and longitude, it's >> > possible to calculate this Magnetic Declination. It can vary from 0 to >> > 30 degrees here in North America. So, knowing the direction that a >> > magnetic compass points to, there is a calculation that tells you the >> > offset, East or West, and the angle to correct, to obtain True >> > Geographic North. >> > " >> >http://www.ipodobserver.com/ipo/article/exploring_the_compass_app_in_...- >> >Dölj citerad text - >> >> - Visa citerad text - > > -- > You received this message because you are subscribed to the Google Groups > "iPhoneWebDev" group. > To post to this group, send email to iphonewebdev@googlegroups.com. > To unsubscribe from this group, send email to > iphonewebdev+unsubscr...@googlegroups.com. > 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 iphonewebdev@googlegroups.com. To unsubscribe from this group, send email to iphonewebdev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.