RouteStepProgress
RouteStepProgress
stores the user’s progress along a route step.
-
Returns the current
RouteStep
. -
Returns distance user has traveled along current step.
-
Returns distance from user to end of step.
-
Total distance in meters remaining on current step.
-
Number between 0 and 1 representing fraction of current step traveled.
-
Number of seconds remaining on current step.
-
Intializes a new
RouteStepProgress
. -
All intersections on the current
RouteStep
and also the first intersection on the upcomingRouteStep
.The upcoming
RouteStep
firstIntersection
is added because it is omitted from the current step. -
The next intersection the user will travel through.
The step must contain
intersectionsIncludingUpcomingManeuverIntersection
otherwise this property will benil
. -
Index representing the current intersection.
-
The current intersection the user will travel through.
The step must contain
intersectionsIncludingUpcomingManeuverIntersection
otherwise this property will benil
. -
Returns an array of the calculated distances from the current intersection to the next intersection on the current step.
-
The distance in meters the user is to the next intersection they will pass through.
-
Index into
step.instructionsDisplayedAlongStep
representing the current visual instruction for the step. -
An
Array
of remainingVisualInstruction
for a step. -
Index into
step.instructionsSpokenAlongStep
representing the current spoken instruction. -
An
Array
of remainingSpokenInstruction
for a step. -
Current spoken instruction for the user’s progress along a step.
-
Current visual instruction for the user’s progress along a step.