MQTrafficIncidentAnnotation
@interface MQTrafficIncidentAnnotation : NSObject
This class represents traffic incident annotations
-
id string of the incident
Declaration
Objective-C
@property (readwrite, copy, nonatomic) NSString *idString;
Swift
var idString: String! { get set }
-
Incident type. Values are:
- Construction
- Event
- Congestion/Flow
- Incident/accident
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSInteger type;
Swift
var type: Int { get set }
-
The incident severity. Values range from 0-4 with 4 indicating the highest severity.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSInteger severity;
Swift
var severity: Int { get set }
-
The incident event code. These are standard Alert-C event codes.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSInteger eventCode;
Swift
var eventCode: Int { get set }
-
Latitude of the incident.
Declaration
Objective-C
@property (readwrite, copy, nonatomic) NSNumber *lat;
Swift
@NSCopying var lat: NSNumber! { get set }
-
Longitude of the incident.
Declaration
Objective-C
@property (readwrite, copy, nonatomic) NSNumber *lng;
Swift
@NSCopying var lng: NSNumber! { get set }
-
The start time (ISO 8601 Combined Date and Time format) of the incident.
Declaration
Objective-C
@property (readwrite, copy, nonatomic) NSString *startTime;
Swift
var startTime: String! { get set }
-
The end time (ISO 8601 Combined Date and Time format) of the incident.
Declaration
Objective-C
@property (readwrite, copy, nonatomic) NSString *endTime;
Swift
var endTime: String! { get set }
-
A short description of the incident.
Declaration
Objective-C
@property (readwrite, copy, nonatomic) NSString *shortDesc;
Swift
var shortDesc: String! { get set }
-
A full description of the incident.
Declaration
Objective-C
@property (readwrite, copy, nonatomic) NSString *fullDescription;
Swift
var fullDescription: String! { get set }
-
URL for an icon to use for displaying the incident
Declaration
Objective-C
@property (readwrite, copy, nonatomic) NSString *iconURL;
Swift
var iconURL: String! { get set }
-
Incident type
Declaration
Objective-C
@property (readonly, nonatomic) MQTrafficIncidentType incidentType;
Swift
var incidentType: MQTrafficIncidentType { get }