Open MastaBaba opened 6 years ago
You could keep track of the onorientationchange
event
The discrepancy is not related to whether my phone is in landscape or portrait, but whether I open the app facing north, east, south or west.
Having the same problem, Any solution to this?
I sadly don't remember whether I solved this.
On my Android phone, in both Firefox and Chrome, my compass (euler.alpha) is often off by 90 or 180 degrees. This seems to depend on the orientation at which I hold my phone when I open my browser.
How can I compensate for this?