Route Utils
Functions
Given a RouteProgress, this method will calculate the remaining waypoint names along the given route based on route option waypoint names and the progress remaining coordinates.
Given a RouteProgress, this method will calculate the remaining coordinates along the given route based on total route coordinates and the progress remaining waypoints.
If navigation begins, a location update is sometimes needed to force a progress change update as soon as navigation is started.
Given the current step / current step distance remaining, this function will find the current instructions to be shown.
This method returns the current BannerText based on the currentStep distance remaining.
This method returns the current VoiceInstructions based on the step distance remaining.
Looks at the current RouteProgress maneuverType for type "arrival", then checks if the arrival meter threshold has been hit.
Compares a new routeProgress geometry to a previousRouteProgress geometry to determine if the user is traversing along a new route. If the route geometries do not match, this returns true.