MarkerProperties

The styling and presentation properties of a marker on the map.

The location of the marker and other marker specific data properties are define in the MarkerData. The MarkerData and the properties of this class define how the marker is visualized on the map.

An instance of this class can be constructed with the MarkerProperties fake constructor function.

Types

Link copied to clipboard
class Mutable

Mutable variant of MarkerProperties.

Properties

Link copied to clipboard

Text displayed within the marker balloon (if visible).

Link copied to clipboard
val label: Label?

Label textually describing the Marker.

Link copied to clipboard

Sets the position of the icon relative to the pin. When the given x/y values are outside of the range 0, 1, the icon moves more than the width/height of the pin.

Link copied to clipboard

Image that will be used as a Marker pin icon.

Link copied to clipboard

Image that will be used as a Marker pin.

Link copied to clipboard

Sets the whole marker's pin offset.

Link copied to clipboard

Image that will be used as a Marker shield.

Link copied to clipboard

Sets the pin's shield anchor.

Functions

Link copied to clipboard
fun copy(configure: MarkerProperties.Mutable.() -> Unit = { }): MarkerProperties

Copies the MarkerProperties and applies the changes by configure to the copied instance.