sdk-traffic / com.tomtom.online.sdk.traffic.flow.query / FlowSegmentDataQuery / <init>

<init>

FlowSegmentDataQuery(style: FlowSegmentStyle!, zoomLevel: Int!, position: LatLng!, thickness: Int!, unit: FlowSegmentSpeedUnit!, includeOpenLR: Boolean!)

Constructor for a flow segmented data query which is used to gather information about speeds and travel times of the road segment closest to a passed position.

Parameters

style - FlowSegmentStyle!: The type of flow data to be displayed on the tile.

zoomLevel - Int!: Affects how traffic incident coordinates are used to separately display the two sides of the road.

position - LatLng!: Coordinates of a point closest to the road segment.

thickness - Int!: A thickness segment width multiplier.

unit - FlowSegmentSpeedUnit!: Defines the speed unit.

includeOpenLR - Boolean!: Defines if the Response should include OpenLR code.