public enum TriggerType : CaseIterable, Hashable
extension TriggerType: Comparable
The type of an individual trigger that appears on the route.
The trigger may be differentiated by its distance to the maneuver point. Although, this type doesn’t provide any distance information, it describes a triggering point by its location on the route. For example:
followtrigger is in range
30...20 kmfrom the maneuver point.
farawaytrigger is in range
12...10 kmfrom the maneuver point.
earlytrigger is in range
5...4 kmfrom the maneuver point.
maintrigger is in range
1.2...1 kmfrom the maneuver point.
confirmationtrigger is in range
50...20 metersfrom the maneuver point.
ImportantThis is a Public Preview API. It may be changed or removed at any time.
Trigger to be used at any distance greater than the distance associated with the
faraway. It does not refer to the next maneuver directly, but rather communicates that for the long stretch ahead there are no more instructions.
Trigger for a maneuver that is far away. It informs the driver that there is an upcoming maneuver somewhere that is far away from their current location.
Trigger is to be used closer to maneuver point. It informs the driver to prepare for the upcoming maneuver and plan their path. (for example start changing lanes).
Trigger to be used very close to the maneuver point.
Trigger to be used at the maneuver point itself.
public static func == (lhs: TriggerType, rhs: TriggerType) -> Bool
A value on the left hand side.
A value on the right hand side.