sdk-maps / com.tomtom.online.sdk.map.traffic / TrafficIncidentCluster

TrafficIncidentCluster

open class TrafficIncidentCluster : TrafficIncident, Serializable

Traffic incidents cluster data which can be taken from a vector incident tile.

Constructors

<init>

TrafficIncidentCluster()

Traffic incidents cluster data which can be taken from a vector incident tile.

Properties

clusterId

var clusterId: Optional<Int!>!

coordinates

var coordinates: Optional<LatLng!>!

description

var description: Optional<String!>!

iconCategory

var iconCategory: Optional<Int!>!

iconName

var iconName: Optional<String!>!

Functions

accept

open fun accept(visitor: TrafficIncidentVisitor!): Unit

getClusterId

open fun getClusterId(): Optional<Int!>!

Gets the cluster id.

getCoordinates

open fun getCoordinates(): Optional<LatLng!>!

Gets the point representing the position of the cluster. Coordinates are precise enough for the current zoom level.

getDescription

open fun getDescription(): Optional<String!>!

Gets the cluster description.

getIconCategory

open fun getIconCategory(): Optional<Int!>!

Gets the icon category associated with the cluster.

getIconName

open fun getIconName(): Optional<String!>!

Gets the icon name associated with the cluster.