RouteLegOptions
public struct RouteLegOptions
Options specific for concrete leg.
-
Initializes the options with the given supporting points and charging information, if any.
Declaration
Swift
public init(supportingPoints: [CLLocationCoordinate2D], chargingInformation: ChargingInformation? = nil)Parameters
supportingPointsA list of base route points to be used as input for route reconstruction.
chargingInformationInformation on how much to charge at a charging station.
-
Initializes the options with the given supporting points, charging information and routeType, if any.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public init( supportingPoints: [CLLocationCoordinate2D] = [], chargingInformation: ChargingInformation? = nil, routeType: RouteType? = nil )Parameters
supportingPointsA list of base route points to be used as input for route reconstruction.
chargingInformationInformation on how much to charge at a charging station.
routeTypeStrategy for selecting roads during route calculation.
-
A list of base route points to be used as input for route reconstruction.
Declaration
Swift
public let supportingPoints: [CLLocationCoordinate2D] -
Information on how much to charge at a charging station.
Declaration
Swift
public let chargingInformation: ChargingInformation? -
Strategy for selecting roads during route calculation.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let routeType: RouteType?
TomTom SDK for iOS (0.53.1)
RouteLegOptions