Link copied to clipboard
data class CarLaneIcon(val laneIcon: LaneIcon, val isActive: Boolean)
Link copied to clipboard
class CarLaneIconOptions

Modify the look and feel of the car lanes.

Link copied to clipboard
class CarLanesImage

Represents everything that the android auto library needs to show lane guidance.

Link copied to clipboard
class CarLanesImageRenderer(    context: Context,     @ColorInt val background: Int = Color.TRANSPARENT,     val options: CarLaneIconOptions = CarLaneIconOptions.Builder().build(context))

This class generates a CarLanesImage needed for the lane guidance in android auto.


Link copied to clipboard
fun Step.Builder.useMapboxLaneGuidance(imageGenerator: CarLanesImageRenderer, laneGuidance: Lane?): Step.Builder

When building a Step you can generate the lane guidance images here.