Repository navigation
Updated Maneuver Icons - #445
Merged
Merged
Conversation
ericrwolfe
reviewed
Oct 31, 2017
| break; | ||
|
|
||
| default: | ||
| ManeuversStyleKit.drawArriveRight(canvas, primaryColor, size); |
Contributor
There was a problem hiding this comment.
By default, we should call drawArrive without a direction.
ericrwolfe
reviewed
Oct 31, 2017
| ManeuversStyleKit.drawArriveRight(canvas, primaryColor, size); | ||
| } | ||
| } else { | ||
| ManeuversStyleKit.drawArriveRight(canvas, primaryColor, size); |
ericrwolfe
reviewed
Oct 31, 2017
| break; | ||
|
|
||
| case STEP_MANEUVER_MODIFIER_UTURN: | ||
| ManeuversStyleKit.drawArrow180Right(canvas, primaryColor, size); |
Contributor
There was a problem hiding this comment.
Do we flip this based on the direction of the turn?
ericrwolfe
reviewed
Oct 31, 2017
|
|
||
| private boolean isRoundabout() { | ||
| return maneuverType.equals(NavigationConstants.STEP_MANEUVER_TYPE_ROTARY) | ||
| || maneuverType.equals(NavigationConstants.STEP_MANEUVER_TYPE_ROUNDABOUT); |
Contributor
There was a problem hiding this comment.
Isn't there also a maneuver type for turning/traffic circles?
ericrwolfe
approved these changes
Oct 31, 2017
ericrwolfe
left a comment
Contributor
There was a problem hiding this comment.
Should be good once the above are addressed.
- Flip uturn - Arrive straight for default - Add third check for roundabout
…on-android into dan-updated-icons
Grsmto
pushed a commit
to Grsmto/mapbox-navigation-android
that referenced
this pull request
Nov 2, 2017
* cam-upgrade-project: Changed location engine imports changed to 0.2 location layer version fixes ordering of the bearings (mapbox#455) Updated Maneuver Icons (mapbox#445) Change feedback timing (mapbox#442) changed apk filepath changed sonarqube version to work with gradle 3.0 fixed a few test issues upgraded to gradle 3.0
This was referenced Nov 7, 2017
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates maneuvers images to a custom
ManeuverViewfrom the previousImageView