Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compass heading from deviceorientation
Message
From
24/04/2014 08:46:23
 
 
To
24/04/2014 08:40:36
General information
Forum:
HTML5
Category:
Browser issues
Miscellaneous
Thread ID:
01598938
Message ID:
01598955
Views:
28
>>It would be nice it I could just find an example HTML5 page out there where this works ;-}
>
>This looks promising http://stackoverflow.com/questions/18112729/calculate-compass-heading-from-deviceorientation-event-api
>
>Look at the first answer
>There's a link to an example http://people.opera.com/richt/release/tests/orientation/spec_workedexample.html

I also found that a few minutes ago. The code is basically the same as I'm trying and, on my device at least, just as useless :-{
Just varying either the x or y axis gives hugely different heading results (including at 'steep' angles Nan)

Do you have a device you could try that page on ?
Anybody ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform