mapbox-navigation-ios icon indicating copy to clipboard operation
mapbox-navigation-ios copied to clipboard

Display generic icon for roundabout instruction without heading

Open 1ec5 opened this issue 4 years ago • 0 comments

OSRM-based profiles of the Directions API apparently leave the degrees property of a banner instruction object unset if the leg ends on the roundabout (avoiding an exit roundabout maneuver). When this happens, we should display a slight right turn arrow (slight left turn in left-side-driving countries) to suggest entering a roundabout without saying exactly how far to go within the roundabout.

This heuristic is unnecessary for Valhalla-based profiles, which provide a heading. It also doesn’t apply to routes that exit the roundabout; in that case, all profiles provide a heading.

/ref mapbox/mapbox-navigation-android#3867 /cc @mapbox/navigation-ios @Guardiola31337 @pjleonard37

1ec5 avatar Oct 04 '21 06:10 1ec5