Marker

@Serializable
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)

Constructors

Link copied to clipboard
fun Marker(    size: Double? = null,     foregroundColor: MPIOptions.FloatingLabelAppearance.Color? = null,     backgroundColor: MPIOptions.FloatingLabelAppearance.Color? = null,     icon: String? = null,     iconVisibilityThreshold: Double? = null)

Properties

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

Background color of the marker

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

Foreground color of the marker

Link copied to clipboard
val icon: String? = null

SVG of icon to place inside Floating Label

Link copied to clipboard
val iconVisibilityThreshold: Double? = null

Defines when the icon becomes visible relative to the current zoom level anything below 0 will result in icons never showing up 0 ensures icons show up at maxZoom (fully zoomed in) 1 ensures they always show up

Link copied to clipboard
val size: Double? = null

Size of the marker in pixels