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

TrafficIncidentsMapBalloon

open class TrafficIncidentsMapBalloon : BaseMarkerBalloon

Representation of traffic incident balloon displayed on map when traffic incident shown.

Constructors

<init>

TrafficIncidentsMapBalloon()

Representation of traffic incident balloon displayed on map when traffic incident shown.

Inherited Properties

KEY_TEXT

static val KEY_TEXT: String

text property key, one of the most used properties for balloon.

Functions

getFlows

open fun getFlows(): MutableList<TrafficIncidentFlow!>!

Get list of kept flows.

getPois

open fun getPois(): MutableList<TrafficIncidentPoi!>!

Get list of kept incidents pois.

ofFlows

open static fun ofFlows(flows: MutableList<TrafficIncidentFlow!>!): TrafficIncidentsMapBalloon

Model which keep traffic incidents flows.

ofPois

open static fun ofPois(pois: MutableList<TrafficIncidentPoi!>!): TrafficIncidentsMapBalloon

Model which keep traffic incidents flows.

Inherited Functions

addProperty

open fun addProperty(key: String!, value: String!): Unit

Add property to balloon model.

open fun addProperty(key: String!, value: Int): Unit

Add int property to balloon model.

open fun addProperty(key: String!, value: Long): Unit

Add long property to balloon model.

getIntProperty

open fun getIntProperty(key: String!): Int

getLongProperty

open fun getLongProperty(key: String!): Long

getProperty

open fun getProperty(key: String!): String?

Get property from balloon model.

getStringProperty

open fun getStringProperty(key: String!): String!

ofText

open static fun ofText(text: String!): BaseMarkerBalloon

Create balloon model with common text property.

setText

open fun setText(text: String!): Unit

Add common text property to balloon model.