Sections
public struct Sections
The Sections structure contains information about various sections on the route.
-
init(roadShieldSections:
trafficSections: vehicleRestrictedSections: speedLimitSections: laneSections: tollRoadSections: ferrySections: motorwaySections: carTrainSections: countrySections: tollVignetteSections: tunnelSections: pedestrianSections: carpoolSections: urbanSections: unpavedSections: lowEmissionZoneSections: ) The default initializer.
Declaration
Swift
public init( roadShieldSections: [RoadShieldSection] = [], trafficSections: [TrafficSection] = [], vehicleRestrictedSections: [VehicleRestrictedSection] = [], speedLimitSections: [SpeedLimitSection] = [], laneSections: [LaneSection] = [], tollRoadSections: [TollRoadSection] = [], ferrySections: [FerrySection] = [], motorwaySections: [MotorwaySection] = [], carTrainSections: [CarTrainSection] = [], countrySections: [CountrySection] = [], tollVignetteSections: [TollVignetteSection] = [], tunnelSections: [TunnelSection] = [], pedestrianSections: [PedestrianSection] = [], carpoolSections: [CarpoolSection] = [], urbanSections: [UrbanSection] = [], unpavedSections: [UnpavedSection] = [], lowEmissionZoneSections: [LowEmissionZoneSection] = [] )
Parameters
roadShieldSections
Road shields on the route.
trafficSections
Traffic events on the route.
vehicleRestrictedSections
Roads restricted for the vehicle used.
speedLimitSections
Speed limits on the route.
laneSections
Lane information on the route.
tollRoadSections
Toll roads on the route.
ferrySections
Ferries on the route.
motorwaySections
Motorways on the route.
carTrainSections
Car trains on the route.
countrySections
Country codes along the route.
tollVignetteSections
Stretches of the route which require a purchase of a toll vignette.
tunnelSections
Tunnels on the route.
pedestrianSections
Stretches on the route only accessible for pedestrians.
carpoolSections
Carpool / HOV roads on the route.
urbanSections
Stretches of the route in built-up areas.
unpavedSections
Unpaved roads on the route.
lowEmissionZoneSections
Low-emission zones on the route.
-
Road shields on the route.
Declaration
Swift
public var roadShieldSections: [RoadShieldSection]
-
Traffic events on the route.
Declaration
Swift
public var trafficSections: [TrafficSection]
-
Roads restricted for the vehicle used.
Declaration
Swift
public var vehicleRestrictedSections: [VehicleRestrictedSection]
-
Speed limits on the route.
Declaration
Swift
public var speedLimitSections: [SpeedLimitSection]
-
Lane information on the route.
Declaration
Swift
public var laneSections: [LaneSection]
-
Toll roads on the route.
Declaration
Swift
public let tollRoadSections: [TollRoadSection]
-
Ferries on the route.
Declaration
Swift
public let ferrySections: [FerrySection]
-
Motorways on the route.
Declaration
Swift
public let motorwaySections: [MotorwaySection]
-
Car trains on the route.
Declaration
Swift
public let carTrainSections: [CarTrainSection]
-
Country codes along the route.
Declaration
Swift
public let countrySections: [CountrySection]
-
Stretches of the route which require a purchase of a toll vignette.
Declaration
Swift
public let tollVignetteSections: [TollVignetteSection]
-
Tunnels on the route.
Declaration
Swift
public let tunnelSections: [TunnelSection]
-
Stretches on the route only accessible for pedestrians.
Declaration
Swift
public let pedestrianSections: [PedestrianSection]
-
Carpool / HOV roads on the route.
Declaration
Swift
public let carpoolSections: [CarpoolSection]
-
Stretches of the route in built-up areas.
Declaration
Swift
public let urbanSections: [UrbanSection]
-
Unpaved roads on the route.
Declaration
Swift
public let unpavedSections: [UnpavedSection]
-
Low-emission zones on the route.
Declaration
Swift
public let lowEmissionZoneSections: [LowEmissionZoneSection]