TrafficIncident
public struct TrafficIncident
Represents a traffic incident.
-
Initializes traffic incident.
Declaration
Swift
public init( line: Line, marker: Marker, section: TrafficSection )Parameters
lineThe line of the traffic incident.
markerThe marker of the traffic incident placed at the start of the line.
sectionThe section of the traffic incident.
-
The line of the traffic incident.
Declaration
Swift
public let line: Line -
The marker of the traffic incident placed at the start of the line.
Declaration
Swift
public let marker: Marker -
The section of the traffic incident
Declaration
Swift
public let section: TrafficSection
TrafficIncident Structure Reference