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

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.

Return
String!: flow