-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Navigation mode to tilt and orientate map to users perspective #1896
base: development
Are you sure you want to change the base?
Conversation
We would only tilt the map on the geolocation trigger or should we also add other functionalities(needs discussion) if the geolocation is on? |
The long tern goal is to have a navigation mode I think. User clicks a button to navigate to a building. The map tilts / pitches and orientation rotation starts. We face the map in the direction the user is facing. Then the next step is to work out adding routing as a polyline to follow. Do you think the first part is achievable now (without routing?) |
I'll have a look at that. |
@charliemcgrady do you know how we could achieve a smooth map rotation experience in MapLibre when the device orientation changes? We want to have a UX similar to most other mapping apps, with geolocation point and oritentation displayed with a blue arc in the normal view (we have this working). But then we want a navigation mode where the map pitches to 30o (we also have this working), and the map rotates to look in the direction the user is oriented (the lagging problem Nishit described). Eventually we want routing too, but that's another problem to solve! |
@NSUWAL123 I think the spec of this has changed slightly taking into account #1909 Ideally we want:
I'm basically describing Google maps navigation or similar! |
What type of PR is this? (check all applicable)
Related Issue
Describe this PR
Screenshots