generateTurnIcon

fun generateTurnIcon(type: String?, degrees: Float?, modifier: String?, drivingSide: String?): Expected<TurnIconError, ManeuverTurnIcon>

Returns a reference to a drawable for turn icons.

Parameters

type

a maneuver type

degrees

a value describing the degree of turn

modifier

a ManeuverModifier value

drivingSide

the driving side describing the turn