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

[Android] Reuse constants to map maneuver types #203

Open
yunikkk opened this issue May 13, 2020 · 0 comments
Open

[Android] Reuse constants to map maneuver types #203

yunikkk opened this issue May 13, 2020 · 0 comments
Assignees
Labels
Android P1 Good to have

Comments

@yunikkk
Copy link
Collaborator

yunikkk commented May 13, 2020

mapbox-java contains strings for maneuver types :
https://github.com/mapbox/mapbox-java/blob/master/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepManeuver.java

We also hardcode this strings in https://github.com/mapbox/mapbox-vision-android-teaser/blob/dev/app/src/main/kotlin/com/mapbox/vision/teaser/utils/RouteUtils.kt.

Let's reuse constants to avoid duplication.

@yunikkk yunikkk added Android P1 Good to have labels May 13, 2020
@yunikkk yunikkk self-assigned this May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android P1 Good to have
Projects
None yet
Development

No branches or pull requests

1 participant