Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore/disable device orientation (on android) with a config and use wipes/touch? #18

Open
HansOtten opened this issue Feb 23, 2017 · 4 comments

Comments

@HansOtten
Copy link

On an (Android) tablet it may be inconvenient to use device orientation when the tablet is on the table. Is it possible to have a configuration parameter to use touch (on Android) and ignore the availability of device orientation?

@terrymun
Copy link
Owner

terrymun commented Feb 23, 2017

You can set the tilt parameter to false when initialising. To determine whether the user is using Android or otherwise is out of the scope of this question—there is probably no easy way to tell what OS the user is on, since the UA can be easily forged.

@HansOtten
Copy link
Author

HansOtten commented Feb 23, 2017

Thank you for the prompt answer. When setting the tilt parameter to false at init the device orientation indeed is not used. Alas the result is that the panorama is displayed full without scrolling/panning on the tablet. No view window, no touch/wipe.

@terrymun
Copy link
Owner

Alright, I'll have a look at it soon. A bit busy lately, so don't expect a fix until a few weeks from now :)

@HansOtten
Copy link
Author

HansOtten commented Feb 24, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants