-
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
high
alert 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
heading
and thefinalHeading
are 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
RouteControllerShouldReroute
is emitted.Declaration
Swift
public var RouteControllerMaximumDistanceBeforeRecalculating: CLLocationDistance = 50
-
Number of seconds left on step when a
medium
alert is emitted.Declaration
Swift
public var RouteControllerMediumAlertInterval: TimeInterval = 70
-
Distance in meters for the minimum length of a step for giving a
high
alert while usingMBDirectionsProfileIdentifierCycling
.Declaration
Swift
public var RouteControllerMinimumDistanceForHighAlertCycling: CLLocationDistance = 60
-
Distance in meters for the minimum length of a step for giving a
high
alert while usingMBDirectionsProfileIdentifierAutomobile
orMBDirectionsProfileIdentifierAutomobileAvoidingTraffic
.Declaration
Swift
public var RouteControllerMinimumDistanceForHighAlertDriving: CLLocationDistance = 100
-
Distance in meters for the minimum length of a step for giving a
high
alert while usingMBDirectionsProfileIdentifierWalking
.Declaration
Swift
public var RouteControllerMinimumDistanceForHighAlertWalking: CLLocationDistance = 20
-
Distance in meters for the minimum length of a step for giving a
medium
alert while usingMBDirectionsProfileIdentifierCycling
.Declaration
Swift
public var RouteControllerMinimumDistanceForMediumAlertCycling: CLLocationDistance = 200
-
Distance in meters for the minimum length of a step for giving a
medium
alert while usingMBDirectionsProfileIdentifierAutomobile
orMBDirectionsProfileIdentifierAutomobileAvoidingTraffic
.Declaration
Swift
public var RouteControllerMinimumDistanceForMediumAlertDriving: CLLocationDistance = 400
-
Distance in meters for the minimum length of a step for giving a
medium
alert 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