ManeuverView

open fun ManeuverView(context: Context)

A custom view that can be used with the Mapbox Directions API.

By providing a String maneuver type and maneuver modifier, thecorresponding maneuver icon will be rendered in this view.

Parameters

context

to use when creating a view from code

open fun ManeuverView(context: Context, attrs: AttributeSet)

A custom view that can be used with the Mapbox Directions API.

By providing a String maneuver type and maneuver modifier, thecorresponding maneuver icon will be rendered in this view.

Parameters

context

for inflating a view from XML

attrs

for inflating a view from XML

open fun ManeuverView(context: Context, attrs: AttributeSet, defStyle: Int)

A custom view that can be used with the Mapbox Directions API.

By providing a String maneuver type and maneuver modifier, thecorresponding maneuver icon will be rendered in this view.

Parameters

context

for inflation from XML and apply a class-specific base style

attrs

for inflation from XML and apply a class-specific base style

defStyle

for inflation from XML and apply a class-specific base style