TomTomGuidanceEngine
public class TomTomGuidanceEngine : GuidanceEngine
TomTomGuidanceEngine generates guidance related to the current guidance step.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializer.
- announcementGenerators:List of announcement generators used to generate announcements at the current position on the route.
- appendInstructionDistanceThreshold:Distance threshold to be taken into account when creating the next instruction list.
Declaration
Swift
public convenience init( announcementGenerators: [AnnouncementGenerator] = defaultAnnouncementGenerators, appendInstructionDistanceThreshold: Double = defaultAppendInstructionDistanceThreshold )
-
Default distance threshold to be taken into account when creating a next instruction list.
Declaration
Swift
public static let defaultAppendInstructionDistanceThreshold: Double
-
Default announcements generators
Declaration
Swift
public static let defaultAnnouncementGenerators: [AnnouncementGenerator]
-
Declaration
Swift
public var unitsSystem: UnitsSystem { get set }
-
Declaration
Swift
public func generateGuidance(inputParameters: GuidanceParams) throws -> Guidance
-
Declaration
Swift
public func generateLaneGuidance(inputParameters: GuidanceParams) -> LaneGuidanceInfo?
-
Declaration
Swift
public func reset()