From 85d5d463456b6692c8a4ce51e72b0b38a7f3da54 Mon Sep 17 00:00:00 2001 From: Dan Nesfeder Date: Mon, 11 Jun 2018 15:30:17 -0400 Subject: [PATCH] Add missing arrival ManeuverViewMap pair (#1007) --- .../ui/v5/instruction/maneuver/ManeuverViewMap.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/instruction/maneuver/ManeuverViewMap.java b/libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/instruction/maneuver/ManeuverViewMap.java index eed1a20f6c8..14df6a8f091 100644 --- a/libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/instruction/maneuver/ManeuverViewMap.java +++ b/libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/instruction/maneuver/ManeuverViewMap.java @@ -82,6 +82,13 @@ public void updateManeuverView(Canvas canvas, int primaryColor, int secondaryCol ManeuversStyleKit.drawArrive(canvas, primaryColor, size); } }); + put(new Pair<>(STEP_MANEUVER_TYPE_ARRIVE, STEP_MANEUVER_MODIFIER_STRAIGHT), new ManeuverViewUpdate() { + @Override + public void updateManeuverView(Canvas canvas, int primaryColor, int secondaryColor, + PointF size, float roundaboutAngle) { + ManeuversStyleKit.drawArrive(canvas, primaryColor, size); + } + }); put(new Pair<>(STEP_MANEUVER_TYPE_ARRIVE, STEP_MANEUVER_MODIFIER_RIGHT), new ManeuverViewUpdate() { @Override public void updateManeuverView(Canvas canvas, int primaryColor, int secondaryColor,