TTMapTrafficFlowTiles

Objective-C

@interface TTMapTrafficFlowTiles : TTMapTrafficData

Swift

class TTMapTrafficFlowTiles : TTMapTrafficData

TTMapTrafficFlowTiles

  • The value which indicates if the road is a toll road. Returns YES/NO or Unknown

    Declaration

    Objective-C

    @property (nonatomic, readonly) TTTollRoadStatus tollRoadStatus;

    Swift

    var tollRoadStatus: TTTollRoadStatus { get }
  • The tag value describes the road type.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nullable roadType;

    Swift

    var roadType: String? { get }
  • Returns the value which indicates the traffic speed. Absolute values in kph are used, when traffic type is set to absolute; fractional values are used, when traffic type is set to relative or relative-delay. Returns -1 if unknown.

    Declaration

    Objective-C

    @property (nonatomic, readonly) double trafficLevel;

    Swift

    var trafficLevel: Double { get }
  • Returns the tag value which describes if the traffic is assigned to the whole road (one way road), or only to one side (two-way road).

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nullable trafficRoadCoverage;

    Swift

    var trafficRoadCoverage: String? { get }
  • The tag presence indicates the existence of one of the following: bridge, tunnel, skyway, ferry by boat (ferry), ferry by rail (rail). If the tag is not present, then the road is a regular road.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nullable travelMode;

    Swift

    var travelMode: String? { get }