sdk-maps / com.tomtom.online.sdk.map / TrafficFlowType / VectorTrafficFlowType

VectorTrafficFlowType

@DeprecatedSince("2020.06") interface VectorTrafficFlowType : TrafficFlowType
Deprecated: Deprecated in Java

Base for vector styles.

Types

Factory

open class Factory

Inherited Functions

getTrafficStyle

abstract fun getTrafficStyle(): String!

The style to be used to render the tile. When style is absolute, the colors will reflect the absolute speed measured. Calls using the relative style to return the speed relative to free-flow, highlighting areas of congestion. Relative-delay displays relative speeds only where they are different from the free flow speeds. Reduced-sensitivity displays relative speeds but a larger difference from free flow (depending on FRC) is required for the segment to change the color. There are various types of traffic flow to use. - absolute: reflect the absolute speed - relative: speed relative to free-flow, highlighting areas of congestion - relative-delay: Relative speed values different from the ones for the free flow. - reduced-sensitivity: Only for raster.

Inheritors

AbsoluteTrafficFlowStyle

open class AbsoluteTrafficFlowStyle : TrafficFlowType.BaseTrafficFlowStyle, TrafficFlowType.RasterTrafficFlowType, TrafficFlowType.VectorTrafficFlowType

Absolute style. The colors will reflect the absolute speed measured.

RelativeDelayTrafficFlowStyle

open class RelativeDelayTrafficFlowStyle : TrafficFlowType.BaseTrafficFlowStyle, TrafficFlowType.RasterTrafficFlowType, TrafficFlowType.VectorTrafficFlowType

Relative-delay traffic style displays relative speeds only where they are different from the freeflow speeds.

RelativeTrafficFlowStyle

open class RelativeTrafficFlowStyle : TrafficFlowType.BaseTrafficFlowStyle, TrafficFlowType.RasterTrafficFlowType, TrafficFlowType.VectorTrafficFlowType

Relative style returns the speed relative to free-flow, highlighting areas of congestion.