FlatLabelInternal

data class FlatLabelInternal(flatLabels: Boolean, text: String?, appearance: MPIOptions.FlatLabelAppearance?) : MPIOptions.AbstractFlatLabel

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

Constructors

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

Functions

component1
Link copied to clipboard
operator fun component1(): Boolean
component2
Link copied to clipboard
operator fun component2(): String?
component3
Link copied to clipboard
operator fun component3(): MPIOptions.FlatLabelAppearance?
copy
Link copied to clipboard
fun copy(flatLabels: Boolean, text: String? = null, appearance: MPIOptions.FlatLabelAppearance? = null): MPIOptions.FlatLabelInternal
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

appearance
Link copied to clipboard
open override val appearance: MPIOptions.FlatLabelAppearance? = null
Control the appearance of flat labels
flatLabels
Link copied to clipboard
var flatLabels: Boolean
text
Link copied to clipboard
open override val text: String? = null
Text to display for the flat label