startNavigation

fun startNavigation(firstRoute: Route, destinationImage: BitmapDrawable, traversedRouteColor: Int? = null, remainingRouteColor: Int? = null): RouteTracker

Starts navigation along the specified route.

Return

The route tracker instance.

Parameters

firstRoute

The first route to navigate.

destinationImage

The image for the destination marker.

traversedRouteColor

The color for the traversed route line. If null, a default color is used.

remainingRouteColor

The color for the remaining route line. If null, a default color is used.