-
Notifications
You must be signed in to change notification settings - Fork 11
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
PB-170: Add device orientation to geolocation button - #minor #965
Conversation
Passing run #2995 ↗︎
Details:
Review all test suite changes for PR #965 ↗︎ |
a72d79c
to
0ed8c6b
Compare
412469e
to
78d0ccf
Compare
the vision cone is otherwise too small on Retina devices (iPhone and such)
78d0ccf
to
c39a9e4
Compare
c39a9e4
to
3314576
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this PR ? What should I review ? Could you please update the PR title to provide information on what is asked to review here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't fully get the auto rotation and based on the PR description it seems that it don't work, at least on my mobile phone touching geolocation again would disable the geolocation and not re-orient to the north if not in the north.
Does your device have absolute orientation (magnetic sensors)? If not this is expected behavior with the current code as pressing the geolocation button again should just turn off the geolocation if the phone does not have absolute orientation |
e98c8fc
to
cf87b62
Compare
3831d08
to
5be76ac
Compare
is replaced by #1022 |
Add vision cone to geolocation if information is available through geolocation api or magnetometer to indicate the users orientation.
If a magnetometer is available, clicking the geolocation a second time will rotate the map to align it to north
Test link