FlatLabelInternal

@Serializable
data class FlatLabelInternal(    var flatLabels: Boolean,     val text: String? = null,     val appearance: MPIOptions.FlatLabelAppearance? = null) : MPIOptions.AbstractFlatLabel

FlatLabelInternal exposes the flat labels flag to be true internally while setting flat labels to polygons

Constructors

Link copied to clipboard
fun FlatLabelInternal(    flatLabels: Boolean,     text: String? = null,     appearance: MPIOptions.FlatLabelAppearance? = null)

Properties

Link copied to clipboard
open override val appearance: MPIOptions.FlatLabelAppearance? = null

Control the appearance of flat labels

Link copied to clipboard
var flatLabels: Boolean
Link copied to clipboard
open override val text: String? = null

Text to display for the flat label