TrafficIncident

public struct TrafficIncident

Represents a traffic incident.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • Initializes traffic incident.

    Declaration

    Swift

    public init(line: Line, marker: Marker)

    Parameters

    line

    The line of the traffic incident.

    marker

    The marker of the traffic incident placed at the start of the line.

Public

  • 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 maker: Marker