MagnitudeOfDelayStyle

public struct MagnitudeOfDelayStyle

Represents the traffic incident’s style properties that have specific values per magnitude of delay. Traffic incidents may have different magnitudes of delay associated with them: unknown, minor, moderate, major, or indefinite.

Lifecycle

  • Initializes marker visibility by zoom level and camera tilt. Zoom level and tilt are defined in closed ranges.

    Declaration

    Swift

    public init(
        lineColor: UIColor,
        lineOutlineColor: UIColor,
        markerLabelTextColor: UIColor,
        markerLabelTextOutlineColor: UIColor
    )

    Parameters

    lineColor

    The color of the traffic line.

    lineOutlineColor

    The outline color of the traffic line.

    markerLabelTextColor

    The color of the label text on the traffic marker.

    markerLabelTextOutlineColor

    The outline color of the label text on the traffic marker.

Public

  • The color of the traffic line.

    Declaration

    Swift

    public let lineColor: UIColor
  • The outline color of the traffic line.

    Declaration

    Swift

    public let lineOutlineColor: UIColor
  • The color of the label text on the traffic marker.

    Declaration

    Swift

    public let markerLabelTextColor: UIColor
  • The outline color of the label text on the traffic marker.

    Declaration

    Swift

    public let markerLabelTextOutlineColor: UIColor