SectionType
public enum SectionType : CaseIterable
Represents types of sections of the route
Sections of the route that require use of carpool (HOV/High Occupancy Vehicle) lanes.
Declaration
Swift
case carpool
Sections of the route that are car trains
Declaration
Swift
case carTrain
Sections indicating which countries the route is in.
Declaration
Swift
case country
Sections of the route that are ferries.
Declaration
Swift
case ferry
Section of the route that contains lanes.
Declaration
Swift
case lanes
Sections of the route that cross a low-emission zone.
Declaration
Swift
case lowEmissionZone
Sections of the route that are motorways.
Declaration
Swift
case motorway
Sections of the route that are only suited for pedestrians.
Declaration
Swift
case pedestrian
Section of the route that contains road-shield.
Declaration
Swift
case roadShields
Section of the route that contains speed limits.
Declaration
Swift
case speedLimit
Sections of the route with the usage-based toll collection system (i.e., distance-based tolls, toll bridges and tunnels, weight-based tolls).
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
case toll
Sections of the route that require a toll to be payed.
Declaration
Swift
case tollRoad
Sections of the route that require a toll vignette to be present.
Declaration
Swift
case tollVignette
Sections of the route that contain traffic information.
Declaration
Swift
case traffic
Sections in relation to the request parameter travelMode.
Declaration
Swift
case travelMode
Sections of the route that are tunnels.
Declaration
Swift
case tunnel
Sections of the route that are unpaved roads.
Declaration
Swift
case unpaved
Sections of the route that are located within urban areas.
Declaration
Swift
case urban