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

BaseMarkerBalloon

open class BaseMarkerBalloon : MarkerBalloon

Model of the MarkerBalloon view. You can add properties to the model. Properties will be serialize to String and restored after rotation.

Constructors

<init>

BaseMarkerBalloon()

Model of the MarkerBalloon view. You can add properties to the model. Properties will be serialize to String and restored after rotation.

Properties

KEY_TEXT

static val KEY_TEXT: String

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

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.

Inheritors

SimpleMarkerBalloon

open class SimpleMarkerBalloon : BaseMarkerBalloon

Class used for creating a simple marker balloon with one text property Subclass of BaseMarkerBalloon.

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.

TrafficIncidentsMapBalloon

open class TrafficIncidentsMapBalloon : BaseMarkerBalloon

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