-
Notifications
You must be signed in to change notification settings - Fork 318
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
User should see an upcoming maneuver arrow on the route line #604
Comments
Revisit when Boba expressions get released (👀 mapbox/mapbox-navigation-ios#1076) |
Capturing @1ec5 comment
|
As pointed in mapbox/mapbox-navigation-ios#1298 we should also make the arrow’s color styleable instead of always white. |
Note the relationship to #704 -- further refactoring is probably needed in order to address these two tickets. |
Capturing @frederoni's comments
|
Equivalent Android Turf methods:
For reference, here’s the magic decoder ring 👉 https://github.com/mapbox/turf-swift#available-functionality (thanks @1ec5 🙏) |
Similar to the one on iOS:
![img_0420](https://user-images.githubusercontent.com/664805/34054954-f6f201be-e181-11e7-8329-14194e2939a6.jpg)
iOS creates a line segment 30m before and after the maneuver point, and then adds this arrow shaft as a runtime styling layer.
The arrowhead is a white triangle that is add as a symbol layer and rotated based on the bearing of the maneuver.
cc @mapbox/navigation-android @frederoni @bsudekum
The text was updated successfully, but these errors were encountered: