Marker

data class Marker(val coordinates: Coordinates, val title: String? = "No title was provided", val appleTintColor: Color? = null, val androidAnchor: GoogleMapsAnchor? = null, val androidDraggable: Boolean = false, val androidSnippet: String? = null, val androidZIndex: Float? = null)

Represents a marker on the map.

Parameters

coordinates

The geographical coordinates where the marker should be placed

title

The title text displayed when the marker is tapped

appleTintColor

The tint color for the marker (iOS only)

androidAnchor

The anchor point for the marker (Android only)

androidDraggable

Whether the marker can be dragged by the user (Android only)

androidSnippet

Additional text displayed below the title (Android only)

androidZIndex

The z-index for layering markers (Android only)

Constructors

Link copied to clipboard
constructor(coordinates: Coordinates, title: String? = "No title was provided", appleTintColor: Color? = null, androidAnchor: GoogleMapsAnchor? = null, androidDraggable: Boolean = false, androidSnippet: String? = null, androidZIndex: Float? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val androidSnippet: String? = null
Link copied to clipboard
val androidZIndex: Float? = null
Link copied to clipboard
val appleTintColor: Color? = null
Link copied to clipboard
Link copied to clipboard