TTMapTrafficIncidentFlow

Objective-C

@interface TTMapTrafficIncidentFlow : TTMapTrafficIncidentBase

Swift

class TTMapTrafficIncidentFlow : TTMapTrafficIncidentBase

TTMapTrafficIncidentFlow

  • Returns number of traffic incidents coordinates.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger coordinatesCount;

    Swift

    var coordinatesCount: Int { get }
  • Returns single coordinate of an incident flow from the array.

    Declaration

    Objective-C

    - (CLLocationCoordinate2D)coordinateAt:(NSInteger)index;

    Swift

    func coordinate(at index: Int) -> CLLocationCoordinate2D

    Parameters

    index

    of a coordinate in incident flow

    Return Value

    CLLocationCoordinate2D