Skip to content

PB-170: Add device orientation to geolocation button - #minor#965

Closed
LukasJoss wants to merge 29 commits intomasterfrom
feat-PB-170-device-orientation
Closed

PB-170: Add device orientation to geolocation button - #minor#965
LukasJoss wants to merge 29 commits intomasterfrom
feat-PB-170-device-orientation

Conversation

@LukasJoss
Copy link
Contributor

@LukasJoss LukasJoss commented Jun 26, 2024

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

@github-actions github-actions bot changed the title very wip very wip - #minor Jun 26, 2024
@cypress
Copy link

cypress bot commented Jun 26, 2024

Passing run #2995 ↗︎

0 211 21 0 Flakiness 0

Details:

PB-170: Add debug statements and clean up code
Project: web-mapviewer Commit: cf87b6226c
Status: Passed Duration: 04:45 💡
Started: Jul 16, 2024 10:06 AM Ended: Jul 16, 2024 10:10 AM

Review all test suite changes for PR #965 ↗︎

@LukasJoss LukasJoss force-pushed the feat-PB-170-device-orientation branch 3 times, most recently from a72d79c to 0ed8c6b Compare July 1, 2024 14:14
@LukasJoss LukasJoss force-pushed the feat-PB-170-device-orientation branch from 412469e to 78d0ccf Compare July 4, 2024 11:03
@LukasJoss LukasJoss force-pushed the feat-PB-170-device-orientation branch from 78d0ccf to c39a9e4 Compare July 4, 2024 13:07
@LukasJoss LukasJoss force-pushed the feat-PB-170-device-orientation branch from c39a9e4 to 3314576 Compare July 4, 2024 13:22
@LukasJoss LukasJoss requested review from ltkum, ltshb and pakb July 4, 2024 13:32
Copy link
Contributor

@ltshb ltshb left a 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

@LukasJoss LukasJoss changed the title very wip - #minor PB-170: Add device orientation to geolocation button Jul 8, 2024
@github-actions github-actions bot changed the title PB-170: Add device orientation to geolocation button PB-170: Add device orientation to geolocation button - #minor Jul 8, 2024
@LukasJoss LukasJoss requested a review from ltshb July 8, 2024 09:16
Copy link
Contributor

@ltshb ltshb left a 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.

@LukasJoss
Copy link
Contributor Author

LukasJoss commented Jul 8, 2024

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

@LukasJoss LukasJoss requested a review from ltshb July 16, 2024 09:05
@LukasJoss LukasJoss force-pushed the feat-PB-170-device-orientation branch from e98c8fc to cf87b62 Compare July 16, 2024 10:02
@LukasJoss LukasJoss force-pushed the feat-PB-170-device-orientation branch from 3831d08 to 5be76ac Compare July 16, 2024 12:56
@ltshb
Copy link
Contributor

ltshb commented Aug 7, 2024

is replaced by #1022

@ltshb ltshb closed this Aug 7, 2024
@pakb pakb deleted the feat-PB-170-device-orientation branch October 15, 2025 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants