Sections
public struct Sections
The Sections structure contains information about various sections on the route.
Important
This is a Public Preview API. It may be changed or removed at any time.-
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]