setRouteLegIndex

open fun setRouteLegIndex(index: Int)

Set the (zero-based) index of the route in the DirectionsResult object to render. By default, the first route in the array will be rendered.

Parameters

index

open fun setRouteLegIndex(index: Int, stepIndex: Int)