krisajenkins / beeline-demo

A GeoHackDay hack of the BeeLine product
11 stars 1 forks source link

The app doesn't track orientationchange when the phone is flipped #2

Open arsatiki opened 8 years ago

arsatiki commented 8 years ago

When I flip the phone (iphone 6 plus, ios 9) from portrait mode to either of the landscape orientations, the pointer points to 90 degrees in the wrong direction.

In the images below, the phone is always in the same position on my desk. However, what the browser considers the "top of the screen" is either the camera end, or one of the long sides. The app, however, always draws the pointer as if the camera end is still the top of the screen.

I'd be interested in trying to fix this myself, as an Elm learning challenge.

arsatiki commented 8 years ago

Images missing, apparently. Let's try again:

img_1584 img_1586 img_1585