TrafficIncidentCategoryKey
public enum TrafficIncidentCategoryKey
Key for categories of on-route traffic incidents used in RouteTrafficIncidentStyle
Important
This is a Public Preview API. It may be changed or removed at any time.Represents the key used to provide fallback styling when no key for a specific traffic incident category is provided.
If you do not provide keys for all the available traffic incident categories, it is mandatory to provide TrafficIncidentCategoryKey/any
Declaration
Swift
case any
Represents a traffic jam.
Declaration
Swift
case jam
Represents a road closure.
Declaration
Swift
case roadClosed
Represents road works or construction.
Declaration
Swift
case roadWorks
Represents an unknown traffic incident category.
Declaration
Swift
case unknown