sdk-maps / com.tomtom.online.sdk.map / TrafficIncidentsType

TrafficIncidentsType

interface TrafficIncidentsType

The style to be used to render the tile. There are various types of traffic incidents to use. - S1: the basic traffic incidents style - S2: similar to S1 with rounded ends on tubes - S3: similar to S2 with wider shadows.

Types

BaseTrafficIncidentsStyle

open class BaseTrafficIncidentsStyle : TrafficIncidentsType

Base for styles

CustomTrafficIncidentsStyle

open class CustomTrafficIncidentsStyle : TrafficIncidentsType.BaseTrafficIncidentsStyle, TrafficIncidentsType.VectorTrafficIncidentsType

S2 style: similar to S1 with rounded ends on tubes.

DefaultTrafficIncidentsStyle

open class DefaultTrafficIncidentsStyle : TrafficIncidentsType.BaseTrafficIncidentsStyle, TrafficIncidentsType.VectorTrafficIncidentsType

S1 style: the basic traffic incidents style.

VectorTrafficIncidentsType

interface VectorTrafficIncidentsType : TrafficIncidentsType

Base for vector styles

Functions

getIncidentsStyle

abstract fun getIncidentsStyle(): String!

The style to be used to render the tile. There are various types of traffic incidents to use. - S1: the basic traffic incidents style - S2: similar to S1 with rounded ends on tubes - S3: similar to S2 with wider shadows.

Inheritors

BaseTrafficIncidentsStyle

open class BaseTrafficIncidentsStyle : TrafficIncidentsType

Base for styles

VectorTrafficIncidentsType

interface VectorTrafficIncidentsType : TrafficIncidentsType

Base for vector styles