TTFlowSegmentDataQueryBuilder
Objective-C
@interface TTFlowSegmentDataQueryBuilder : NSObject
Swift
class TTFlowSegmentDataQueryBuilder : NSObject
TTFlowSegmentDataQueryBuilder
-
Builder of TTFlowSegmentDataQueryBuilder object
Declaration
Objective-C
+ (TTFlowSegmentDataQueryBuilder *_Nonnull) createWithStyle:(TTTrafficStyleType)style withZoom:(NSUInteger)zoom withCoordiante:(CLLocationCoordinate2D)coordiante;Swift
class func create(with style: TTTrafficStyleType, withZoom zoom: UInt, withCoordiante coordiante: CLLocationCoordinate2D) -> TTFlowSegmentDataQueryBuilderParameters
styleThe type of flow data to be displayed on the tile.
zoomZoom level. This will affect traffic incident coordinates to present both road sides separately.
pointCoordinate of the point close to the road segment. They have to be comma-separated and calculated using EPSG4326 projection.
Return Value
TTFlowSegmentDataQueryBuilder object
-
Part of builder TTFlowSegmentDataQueryBuilder object.
Declaration
Objective-C
- (TTFlowSegmentDataQueryBuilder *_Nonnull)withUnit:(TTTrafficUnitType)unit;Swift
func withUnit(_ unit: TTTrafficUnitType) -> TTFlowSegmentDataQueryBuilderParameters
unitUnit of speed.
Return Value
TTFlowSegmentDataQueryBuilder
-
Part of builder TTFlowSegmentDataQueryBuilder object.
Declaration
Objective-C
- (TTFlowSegmentDataQueryBuilder *_Nonnull)withThickness: (NSNumber *_Nonnull)thickness;Swift
func withThickness(_ thickness: NSNumber) -> TTFlowSegmentDataQueryBuilderParameters
thicknessSegment width multiplier.
Return Value
TTFlowSegmentDataQueryBuilder
-
Part of builder TTFlowSegmentDataQueryBuilder object.
Declaration
Objective-C
- (TTFlowSegmentDataQueryBuilder *_Nonnull)withOpenLr:(BOOL)openLr;Swift
func withOpenLr(_ openLr: Bool) -> TTFlowSegmentDataQueryBuilderParameters
openLrShould response include OpenLR code?
Return Value
TTFlowSegmentDataQueryBuilder
-
Specifies HTTP headers for the Request.
Declaration
Objective-C
- (TTFlowSegmentDataQueryBuilder *_Nonnull)withHTTPHeaders:(id)headers;Swift
func withHTTPHeaders(_ headers: Any!) -> TTFlowSegmentDataQueryBuilderParameters
headersHTTP headers for the Request
Return Value
TTReverseGeocoderQueryBuilder
-
Build method.
Declaration
Objective-C
- (TTFlowSegmentDataQuery *_Nonnull)build;Swift
func build() -> TTFlowSegmentDataQueryReturn Value
TTFlowSegmentDataQuery object.
TTFlowSegmentDataQueryBuilder Class Reference