FloatingLabelAppearance

data class FloatingLabelAppearance @JvmOverloads constructor(    val margin: Double? = null,     val text: MPIOptions.FloatingLabelAppearance.Text? = null,     val marker: MPIOptions.FloatingLabelAppearance.Marker? = null)

FloatingLabelAppearance holds the appearance properties of floating labels to be set when labeling polygons

Constructors

Link copied to clipboard
fun FloatingLabelAppearance(    margin: Double? = null,     text: MPIOptions.FloatingLabelAppearance.Text? = null,     marker: MPIOptions.FloatingLabelAppearance.Marker? = null)

Types

Link copied to clipboard
data class Color @JvmOverloads constructor(val active: String? = null, val inactive: String? = null)
Link copied to clipboard
object Companion
Link copied to clipboard
data class Marker @JvmOverloads constructor(    val size: Double? = null,     val foregroundColor: MPIOptions.FloatingLabelAppearance.Color? = null,     val backgroundColor: MPIOptions.FloatingLabelAppearance.Color? = null,     val icon: String? = null,     val iconVisibilityThreshold: Double? = null)
Link copied to clipboard
data class Text @JvmOverloads constructor(    val numLines: Int? = null,     val size: Double? = null,     val maxWidth: Double? = null,     val foregroundColor: String? = null,     val backgroundColor: String? = null)

Properties

Link copied to clipboard
val margin: Double? = null

Margin around the label and marker. This will affect label density

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

Marker appearance

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

Text appearance