TomTomSDKRoutingCommon
-
Specifies avoidance criteria.
See moreDeclaration
Swift
public struct AvoidOptions
-
Defines what kind of roads should be avoided while calculating a route. The given road types can still be considered during route planning but the computed routes will only contain them if no other routes exist or if avoiding such roads would result in a large detour. Please use Route Sections to check for violations.
See moreDeclaration
Swift
public enum AvoidType
-
Represents the electric vehicle options that provide charging information.
See moreDeclaration
Swift
public struct ChargingOptions
-
ChargingStopsStrategy Specifies the charging stops strategy to be used by the Online Routing service.
See moreDeclaration
Swift
public enum ChargingStopsStrategy
-
Determines if traffic information should be considered during routing. For example, traffic is not supposed to be used for walking routes.
See moreDeclaration
Swift
public enum ConsiderTraffic
-
Criteria that specify what paths to prefer during routing.
See moreDeclaration
Swift
public struct CostModel
-
Represents the desired amount of hilliness for a thrilling route.
Note
This parameter can only be used in conjunction with routeType=thrillingNote
This option is not yet supported with the Orbis map.Declaration
Swift
public enum Hilliness
-
Represents the point of the route
See moreDeclaration
Swift
public struct ItineraryPoint
-
Represents a requested sequence of points that a route should visit.
See moreDeclaration
Swift
public struct Itinerary
-
Options related to the API request.
See moreDeclaration
Swift
public struct QueryOptions
-
Specifies if a route is optimized for travel time, short path length, or other goals.
See moreDeclaration
Swift
public enum RouteType : Equatable
-
Specifies in which countries toll roads that require vignettes may be taken or should be avoided.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum Vignettes
-
Used to decide how to optimize the order of waypoints.
See moreDeclaration
Swift
public enum WaypointOptimization
-
Represents the desired amount of turns for thrilling routes
Note
This parameter can only be used in conjunction with routeType=thrilling.Note
This option is not yet supported with the Orbis map.Declaration
Swift
public enum Windingness
-
Represents routing options error.
See moreDeclaration
Swift
public enum RoutingOptionsError : Error, Equatable
extension RoutingOptionsError: LocalizedError