FloatingLabel

@Serializable
data class FloatingLabel @JvmOverloads constructor(val text: String, val shortText: String? = null, val stateText: String? = null, val rank: MPIOptions.COLLISION_RANK? = 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
constructor(text: String, shortText: String? = null, stateText: String? = null, rank: MPIOptions.COLLISION_RANK? = null, appearance: MPIOptions.FloatingLabelAppearance? = null)

Properties

Link copied to clipboard

Control the appearance of smart labels

Link copied to clipboard

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

text to display for the label