FloatingLabel

data class FloatingLabel @JvmOverloads constructor(    val text: String,     val shortText: String? = null,     val stateText: String? = null,     val rank: Double? = null,     val appearance: MPIOptions.FloatingLabelAppearance? = null)

FloatingLabel holds the properties of floating labels to be set when setting labels to polygons

Constructors

Link copied to clipboard
fun FloatingLabel(    text: String,     shortText: String? = null,     stateText: String? = null,     rank: Double? = null,     appearance: MPIOptions.FloatingLabelAppearance? = null)

Properties

Link copied to clipboard
val appearance: MPIOptions.FloatingLabelAppearance? = null

Control the appearance of smart labels

Link copied to clipboard
val rank: Double? = null

rank of the label

Link copied to clipboard
val shortText: String? = null

short text to display for the label

Link copied to clipboard
val stateText: String? = null

state text to display for the label

Link copied to clipboard
val text: String

text to display for the label