PropertiesVienna
fun PropertiesVienna( shouldFallbackWithText: Boolean = false, shouldFallbackWithDrawable: Boolean = true, @DrawableRes exitBackground: Int = R.drawable.mapbox_exit_board_background, @DrawableRes fallbackDrawable: Int = R.drawable.mapbox_ic_exit_arrow_left_vienna, @DrawableRes exitLeftDrawable: Int = R.drawable.mapbox_ic_exit_arrow_left_vienna, @DrawableRes exitRightDrawable: Int = R.drawable.mapbox_ic_exit_arrow_right_vienna)
Content copied to clipboard
Parameters
shouldFallbackWithDrawable
set to true if you want to use fallbackDrawable in case if the Maneuver contains an ExitComponentNode with a ManeuverModifier value other than left or right.
shouldFallbackWithText
set to true if you don't want to use a fallbackDrawable but prepend text "Exit" to the exit number in the Maneuver
exitBackground
background to be set to the text view
fallbackDrawable
drawable to be used in case ManeuverModifier has a different value other than left or right
exitLeftDrawable
drawable to be used when ManeuverModifier is left
exitRightDrawable
drawable to be used when ManeuverModifier is right