TrafficOnSection
public struct TrafficOnSection : Hashable
Traffic information on a section.
-
List of coordinates representing the polyline of this section.
Declaration
Swift
public var geometry: [GeoCoordinates] -
List of traffic spans.
Declaration
Swift
public var trafficSpans: [TrafficOnSpan] -
List of traffic incidents.
Declaration
Swift
public var trafficIncidents: [TrafficIncidentOnRoute] -
Describes the departure place.
Declaration
Swift
public var departurePlace: RoutePlace -
Describes the arrival place.
Declaration
Swift
public var arrivalPlace: RoutePlace -
Creates a new instance.
Declaration
Swift
public init(geometry: [GeoCoordinates] = [], trafficSpans: [TrafficOnSpan] = [], trafficIncidents: [TrafficIncidentOnRoute] = [], departurePlace: RoutePlace, arrivalPlace: RoutePlace)