-
Maximum number of seconds the user can travel away from the start of the route before rerouting occurs
Declaration
Swift
public var MaxSecondsSpentTravelingAwayFromStartOfRoute: TimeInterval = 3 -
When calculating whether or not the user is on the route, we look where the user will be given their speed and this variable.
Declaration
Swift
public var RouteControllerDeadReckoningTimeInterval:TimeInterval = 1.0 -
Number of seconds left on step when a
highalert is emitted.Declaration
Swift
public var RouteControllerHighAlertInterval: TimeInterval = 15 -
Radius in meters the user must enter to count as completing a step. One of two heuristics used to know when a user completes a step, see
RouteControllerMaximumAllowedDegreeOffsetForTurnCompletion.Declaration
Swift
public var RouteControllerManeuverZoneRadius: CLLocationDistance = 40 -
Maximum angle the user puck will be rotated when snapping the user’s course to the route line.
Declaration
Swift
public var RouteControllerMaxManipulatedCourseAngle:CLLocationDirection = 25 -
Threshold user must be in within to count as completing a step. One of two heuristics used to know when a user completes a step, see
RouteControllerManeuverZoneRadius.The users
headingand thefinalHeadingare compared. If this number is withinRouteControllerMaximumAllowedDegreeOffsetForTurnCompletion, the user has completed the step.Declaration
Swift
public var RouteControllerMaximumAllowedDegreeOffsetForTurnCompletion: Double = 30 -
Maximum number of meters the user can travel away from step before
RouteControllerShouldRerouteis emitted.Declaration
Swift
public var RouteControllerMaximumDistanceBeforeRecalculating: CLLocationDistance = 50 -
Number of seconds left on step when a
mediumalert is emitted.Declaration
Swift
public var RouteControllerMediumAlertInterval: TimeInterval = 70 -
Distance in meters for the minimum length of a step for giving a
highalert while usingMBDirectionsProfileIdentifierCycling.Declaration
Swift
public var RouteControllerMinimumDistanceForHighAlertCycling: CLLocationDistance = 60 -
Distance in meters for the minimum length of a step for giving a
highalert while usingMBDirectionsProfileIdentifierAutomobileorMBDirectionsProfileIdentifierAutomobileAvoidingTraffic.Declaration
Swift
public var RouteControllerMinimumDistanceForHighAlertDriving: CLLocationDistance = 100 -
Distance in meters for the minimum length of a step for giving a
highalert while usingMBDirectionsProfileIdentifierWalking.Declaration
Swift
public var RouteControllerMinimumDistanceForHighAlertWalking: CLLocationDistance = 20 -
Distance in meters for the minimum length of a step for giving a
mediumalert while usingMBDirectionsProfileIdentifierCycling.Declaration
Swift
public var RouteControllerMinimumDistanceForMediumAlertCycling: CLLocationDistance = 200 -
Distance in meters for the minimum length of a step for giving a
mediumalert while usingMBDirectionsProfileIdentifierAutomobileorMBDirectionsProfileIdentifierAutomobileAvoidingTraffic.Declaration
Swift
public var RouteControllerMinimumDistanceForMediumAlertDriving: CLLocationDistance = 400 -
Distance in meters for the minimum length of a step for giving a
mediumalert while usingMBDirectionsProfileIdentifierWalking.Declaration
Swift
public var RouteControllerMinimumDistanceForMediumAlertWalking: CLLocationDistance = 100 -
Accepted deviation excluding horizontal accuracy before the user is considered to be off route.
Declaration
Swift
public var RouteControllerUserLocationSnappingDistance: CLLocationDistance = 10
Install in Dash
Configuration Reference