MapboxTurnIconsApi
An API for generating turn icon drawable resource references.
Parameters
turnIconResources
a TurnIconResources reference
Constructors
Functions
Link copied to clipboard
fun generateTurnIcon( type: String?, degrees: Float?, modifier: String?, drivingSide: String?): Expected<TurnIconError, ManeuverTurnIcon>
Content copied to clipboard
Returns a reference to a drawable for turn icons.
Link copied to clipboard
Invoke the method if there is a need to use other turn icon drawables than the default icons supplied.