TTTrafficDetailBase

@interface TTTrafficDetailBase : NSObject

TTTrafficDetailBase

  • ID

    Returns the ID of the traffic incident.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSString *_Nonnull ID;

    Swift

    var id: String { get }
  • Returns the point where an icon of the cluster or raw incident should be drawn. This is affected by traffic style, zoom level and road type.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) CLLocationCoordinate2D adjustPosition;

    Swift

    var adjustPosition: CLLocationCoordinate2D { get }
  • Returns the icon category associated with this incident.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic)
        TTTrafficDetailsCategoryIcon iconCategory;

    Swift

    var iconCategory: TTTrafficDetailsCategoryIcon { get }
  • Returns magnitude of delay associated with incident.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) TTTrafficDetailsMagnitude magnitude;

    Swift

    var magnitude: TTTrafficDetailsMagnitude { get }
  • Returns lenght.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) NSUInteger length;

    Swift

    var length: UInt { get }