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
apple Tint Color
The tint color for the marker (iOS only)
android Anchor
The anchor point for the marker (Android only)
android Draggable
Whether the marker can be dragged by the user (Android only)
android Snippet
Additional text displayed below the title (Android only)
android ZIndex
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)