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

SimpleMarkerBalloon

open class SimpleMarkerBalloon : BaseMarkerBalloon

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

Constructors

<init>

SimpleMarkerBalloon(text: String!)

Constructor that adds passed string as property that and saves it under BaseMarkerBalloon#KEY_TEXT key.

Inherited Properties

KEY_TEXT

static val KEY_TEXT: String

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

Functions

toString

open fun toString(): String

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.