ClickableMap

fun ClickableMap(modifier: Modifier = Modifier, height: Int = 300, initialLocation: LatLng = LatLng(51.1869, -115.5323), onLocationSelected: (coordinates: LatLng, address: String, postalCode: String) -> Unit)

Composable for displaying a clickable map with a marker.

Parameters

modifier

Modifier for styling and layout.

height

Height of the map in dp.

initialLocation

Initial location to center the map on.

onLocationSelected

Callback when a location is selected. Returns coordinates: LatLng, address: String, postalCode: String