Marker
fun Marker(point: Point, color: Color = Color(0xffcfdaf7), innerColor: Color = Color(0xffffffff), stroke: Color? = Color(0xff3a59fa), text: String? = null)
Composable function to add a simple Marker to the Map.
Marker is a convenience which creates a simple ViewAnnotation with limited customization options. Use Marker to quickly add a pin annotation at the specific coordinates. If you need greater customization use ViewAnnotation directly.
Marker is great for displaying unique interactive features. However, it may be suboptimal for large amounts of data and doesn't support clustering. Each marker creates Compose views with custom text rendering, so for scenarios with 100+ markers, consider using PointAnnotation.