TTMapTrafficCalloutFactory
Objective-C
@interface TTMapTrafficCalloutFactory : NSObject
Swift
class TTMapTrafficCalloutFactory : NSObject
TTMapTrafficCalloutFactory
-
Creates callout for TTTrafficFlow
Declaration
Objective-C
+ (TTMapTrafficCallout *_Nonnull)createWithFlow: (TTMapTrafficFlowTiles *_Nonnull)flow;
Swift
class func create(withFlow flow: TTMapTrafficFlowTiles) -> TTMapTrafficCallout
Parameters
flow
TTTrafficFlow
Return Value
return Traffic Flow callout
-
Creates callout for TTTrafficIncidentPoi
Declaration
Objective-C
+ (TTMapTrafficCallout *_Nonnull)createWithIncidentPoi: (TTMapTrafficIncidentPoi *_Nonnull)incidentPoi;
Swift
class func create(with incidentPoi: TTMapTrafficIncidentPoi) -> TTMapTrafficCallout
Parameters
incidentPoi
TTTrafficIncidentPoi
Return Value
return Traffic Incident POI callout
-
Creates callout for TTTrafficIncidentFlow
Declaration
Objective-C
+ (TTMapTrafficCallout *_Nonnull)createWithIncidentFlow: (TTMapTrafficIncidentFlow *_Nonnull)incidentFlow;
Swift
class func create(with incidentFlow: TTMapTrafficIncidentFlow) -> TTMapTrafficCallout
Parameters
incidentFlow
TTTrafficIncidentFlow
Return Value
return Traffic Incident Flow callout
-
Creates callout for TTTrafficIncidentCluster
Declaration
Objective-C
+ (TTMapTrafficCallout *_Nonnull)createWithIncidentCluster: (TTMapTrafficIncidentCluster *_Nonnull)incidentCluster;
Swift
class func create(with incidentCluster: TTMapTrafficIncidentCluster) -> TTMapTrafficCallout
Parameters
incidentCluster
TTTrafficIncidentCluster
Return Value
return Traffic Incident Cluster callout