TTMapTrafficIncidentPoi
Objective-C
@interface TTMapTrafficIncidentPoi : TTMapTrafficIncidentBase
Swift
class TTMapTrafficIncidentPoi : TTMapTrafficIncidentBase
TTMapTrafficIncidentPoi
-
The poi type. The beginning of incidents is described as StartPoi. The ending of incidents is described as EndPoi. If the traffic incident has no geometry, it is described as StandalonePoi.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nullable poiType;
Swift
var poiType: String? { get }
-
The delay caused by the incident in seconds (except in road closures).
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger delay;
Swift
var delay: Int { get }
-
The incident icon image
Declaration
Objective-C
@property (nonatomic, readonly) int *_Nullable icon;
Swift
var icon: UnsafeMutablePointer<Int32>? { get }
-
The description of the incident.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nullable incidentDescription;
Swift
var incidentDescription: String? { get }
-
The direction of the traffic incident.
Declaration
Objective-C
@property (nonatomic, readonly) double heading;
Swift
var heading: Double { get }
-
The icon category associated with this incident.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger iconCategory;
Swift
var iconCategory: Int { get }
-
The tag presence indicates the incident is clustered. The value of the clustered tag is equal to the ID of the parent cluster.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger clusterID;
Swift
var clusterID: Int { get }
-
The coordinate of incident.
Declaration
Objective-C
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
Swift
var coordinate: CLLocationCoordinate2D { get }
-
Size of icon that represent incident. In pixels.
Declaration
Objective-C
@property (nonatomic, readonly) CGSize iconSize;
Swift
var iconSize: CGSize { get }