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

Map Auto rotation setting doesn't work #73

Open
uprel opened this issue May 24, 2018 · 2 comments
Open

Map Auto rotation setting doesn't work #73

uprel opened this issue May 24, 2018 · 2 comments

Comments

@uprel
Copy link
Member

uprel commented May 24, 2018

ol.deviceorientation is depreciated. Switch to gyronorm and fix this

@uprel uprel added the mobile label May 24, 2018
@uprel uprel changed the title Map rotation doesn't work Map Auto rotation setting doesn't work May 26, 2018
@uprel uprel added the bug label Jun 5, 2018
@uprel
Copy link
Member Author

uprel commented May 29, 2020

Don't need gyronorm, I think. Look at this ol example to rotate view
https://github.com/openlayers/openlayers/blob/3014b68254be3ac0c4cfce9af41d90e2aa321a1b/examples/geolocation-orientation.js

@uprel
Copy link
Member Author

uprel commented Jun 26, 2020

Currently disabled, because needs refactoring. We cannot rotate map for every position and GPS heading update, so this needs to be adjusted and also speed should be more then minimum value.

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

No branches or pull requests

1 participant