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

TrafficFlowMapBalloon

open class TrafficFlowMapBalloon : BaseMarkerBalloon

Model of balloon for traffic flows. Model keep information about traffic flows which are in the immediate vicinity of the clicked area.

Constructors

<init>

TrafficFlowMapBalloon(list: MutableList<TrafficFlow!>)

Traffic model for traffic flows.

Inherited Properties

KEY_TEXT

static val KEY_TEXT: String

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

Functions

getList

open fun getList(): MutableList<TrafficFlow!>

Traffic flow information on the map.

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.