TTFlowSegmentDataQueryBuilder Class Reference

Inherits from NSObject
Declared in TTFlowSegmentDataQuery.h

+ createWithStyle:withZoom:withCoordiante:

Builder of TTFlowSegmentDataQueryBuilder object

+ (TTFlowSegmentDataQueryBuilder *_Nonnull)createWithStyle:(TTTrafficStyleType)style withZoom:(NSUInteger)zoom withCoordiante:(CLLocationCoordinate2D)coordiante

Parameters

style

The type of flow data to be displayed on the tile.

zoom

Zoom level. This will affect traffic incident coordinates to present both road sides separately.

point

Coordinate of the point close to the road segment. They have to be comma-separated and calculated using EPSG4326 projection.

Return Value

TTFlowSegmentDataQueryBuilder object

Discussion

Builder of TTFlowSegmentDataQueryBuilder object

Declared In

TTFlowSegmentDataQuery.h

– withUnit:

Part of builder TTFlowSegmentDataQueryBuilder object.

- (TTFlowSegmentDataQueryBuilder *_Nonnull)withUnit:(TTTrafficUnitType)unit

Parameters

unit

Unit of speed.

Return Value

TTFlowSegmentDataQueryBuilder

Discussion

Part of builder TTFlowSegmentDataQueryBuilder object.

Declared In

TTFlowSegmentDataQuery.h

– withThickness:

Part of builder TTFlowSegmentDataQueryBuilder object.

- (TTFlowSegmentDataQueryBuilder *_Nonnull)withThickness:(NSNumber *_Nonnull)thickness

Parameters

thickness

Segment width multiplier.

Return Value

TTFlowSegmentDataQueryBuilder

Discussion

Part of builder TTFlowSegmentDataQueryBuilder object.

Declared In

TTFlowSegmentDataQuery.h

– withOpenLr:

Part of builder TTFlowSegmentDataQueryBuilder object.

- (TTFlowSegmentDataQueryBuilder *_Nonnull)withOpenLr:(BOOL)openLr

Parameters

openLr

Should response include OpenLR code?

Return Value

TTFlowSegmentDataQueryBuilder

Discussion

Part of builder TTFlowSegmentDataQueryBuilder object.

Declared In

TTFlowSegmentDataQuery.h

– build

Build method.

- (TTFlowSegmentDataQuery *_Nonnull)build

Return Value

TTFlowSegmentDataQuery object.

Discussion

Build method.

Declared In

TTFlowSegmentDataQuery.h