legDistanceRemaining

fun legDistanceRemaining(stepDistanceRemaining: Double, legIndex: Int, stepIndex: Int, directionsRoute: DirectionsRoute): Double

Takes in the already calculated step distance and iterates through the step list from the step index value plus one till the end of the leg.