Distance Step
data class DistanceStep(val distance: String, val duration: String, val polyline: String, val startLocation: LatLng, val endLocation: LatLng, val travelMode: String, val instructions: DistanceInstructions? = null)
step in a leg
Parameters
distance
the distance as text covered by this step until the next step.
duration
the typical time as text required to perform the step, until the next step
polyline
the polyline representation of the step (encoded with the poyline algorithm
start Location
end Location
travel Mode
the type of travel mode used
instructions