MagnitudeOfDelayKey

public enum MagnitudeOfDelayKey

Key for the magnitude of delay of traffic incidents used in RouteTrafficIncidentStyle.

Important

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

    Represents the key used to provide fallback styling when no key for a specific magnitude of delay is provided. If you do not provide keys for all the available magnitudes of delay, it is mandatory to provide MagnitudeOfDelayKey.any.

    Declaration

    Swift

    case any
  • Represents an unknown magnitude of traffic delay.

    Declaration

    Swift

    case unknown
  • Represents a minor traffic delay.

    Declaration

    Swift

    case minor
  • Represents a moderate traffic delay.

    Declaration

    Swift

    case moderate
  • Represents a major traffic delay.

    Declaration

    Swift

    case major
  • Represents an indefinite traffic delay, typically used for road closures.

    Declaration

    Swift

    case indefinite