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
RouteStepand also the first intersection on the upcomingRouteStep.The upcoming
RouteStepfirstIntersectionis added because it is omitted from the current step. -
The next intersection the user will travel through.
The step must contain
intersectionsIncludingUpcomingManeuverIntersectionotherwise this property will benil. -
Index representing the current intersection.
-
The current intersection the user will travel through.
The step must contain
intersectionsIncludingUpcomingManeuverIntersectionotherwise 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.instructionsDisplayedAlongSteprepresenting the current visual instruction for the step. -
An
Arrayof remainingVisualInstructionfor a step. -
Index into
step.instructionsSpokenAlongSteprepresenting the current spoken instruction. -
An
Arrayof remainingSpokenInstructionfor a step. -
Current spoken instruction for the user’s progress along a step.
-
Current visual instruction for the user’s progress along a step.
-
-
Install in Dash
RouteStepProgress Class Reference