TomTomSDKRoutePlanner
-
Defines the reconstruction mode used for route reconstruction.
Note
This option is not yet supported with the Orbis map.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum ReconstructionMode
-
Represents the ‘extendedRouteRepresentation’ parameter values in a Request to the Routing API.
See moreDeclaration
Swift
public enum ExtendedRouteRepresentation : CaseIterable
-
Specifies options related to alternative routes.
Note
Supporting points which are used for reconstructing a route and for calculating zero or more alternative routes to this reference route is part ofRouteLegOptions
Declaration
Swift
public struct AlternativeRoutesOptions
-
Represents the ‘alternativeType’ parameter in a Request to the Routing API.
See moreDeclaration
Swift
public enum AlternativeType
-
Specifies whether to include announcement points in instructions. Supported only in routing with extended guidance.
Note
This option is not supported with the Orbis map.Declaration
Swift
@available(*, deprecated, message: "This API is deprecated and will be removed with the next major release.") public enum AnnouncementPoints
-
Road side on arrival preference for waypoints and destination.
See moreDeclaration
Swift
public enum ArrivalSidePreference
-
Specifies whether to include extended sections such as road shield, lane, and speed limit sections in the route response,
See moreDeclaration
Swift
public enum ExtendedSections
-
Specifies options related to generated instructions. It is used by
See moreRoutePlanningOptions
when planning a route.Declaration
Swift
public struct GuidanceOptions
-
List of errors that can be thrown during the creation of
See moreGuidanceOptions
.Declaration
Swift
public enum GuidanceOptionError : Error, Equatable
extension GuidanceOptionError: LocalizedError
-
Specifies whether to include the phonetic transcription of street names, signpost text, and road numbers in the instruction.
When using any value of
InstructionPhoneticsType.LHP
andInstructionPhoneticsType.IPA
, phonetic information (if it’s available) is returned in the Response. In this case all properties of the typeTextWithPhonetics
will contain theTextWithPhonetics.phoneticString
value.When using
InstructionPhoneticsType.none
value - no phonetic information is returned in the Response.Examples of properties of type
See moreTextWithPhonetics
: -Instruction.previousSignificantRoad.name
-Instruction.nextSignificantRoad.name
-Instruction.intersectionName
- properties ofInstruction.signpost
Declaration
Swift
public enum InstructionPhoneticsType
extension InstructionPhoneticsType: Codable
-
Represents the ‘instructionsType’ parameter in a request to the Routing API.
See moreDeclaration
Swift
@available(*, deprecated, message: "This API is deprecated and will be removed with the next major release.") public enum InstructionType
-
Typealias for OnlineAPIVersion.
Declaration
Swift
@available(*, deprecated, message: "This API is deprecated and will be removed with the next major release.") public typealias OnlineApiVersion = OnlineAPIVersion
-
Specifies whether to include road shield references into the external road shields atlas. If this parameter is set to all, the Instructions in route response contain
See moreRoadShield.reference
that refers to the road shields of the next significant road segment after the maneuver. This refrence can then be used to decide upon the correct road shield image.Declaration
Swift
public enum RoadShieldReferences
-
Represents types of sections of the route
See moreDeclaration
Swift
public enum SectionType : CaseIterable
-
A data type that contains input data for the
See moreadvanceGuidanceProgress
method of theRoutePlanner
Declaration
Swift
public struct RouteIncrementOptions
-
See moreRouteInformationMode
defines how much guidance information (instructions and lane guidance) is returned with the route from the RoutePlanner.planRoute() function.Declaration
Swift
public enum RouteInformationMode
-
Options specific for concrete leg.
See moreDeclaration
Swift
public struct RouteLegOptions
-
RoutePlanner protocol
See moreDeclaration
Swift
public protocol RoutePlanner
-
Options for route planning.
See moreDeclaration
Swift
public struct RoutePlanningOptions : RoutingOptionsWithItinerary
-
Represents the calculated route based on a passed [RoutePlanningOptions].
See moreDeclaration
Swift
public struct RoutePlanningResponse
-
A type that describes routing options with itinerary.
See moreDeclaration
Swift
public protocol RoutingOptionsWithItinerary