Guidance
public struct Guidance
Guidance update provided while navigating a route, including the list of upcoming instructions, guidance announcement and distance to the next maneuver.
Important
This is a Public Preview API. It may be changed or removed at any time.-
List of next instructions. The number of instructions provided is determined by internal threshold.
Declaration
Swift
public let instructions: [GuidanceInstruction]
-
Announcement about the upcoming maneuver.
Declaration
Swift
public let announcement: GuidanceAnnouncement?
-
The distance to the upcoming maneuver.
Declaration
Swift
public private(set) var distanceToManeuver: Measurement<UnitLength> { get }
-
The phase of the upcoming maneuver.
Declaration
Swift
public let currentPhase: InstructionPhase