I want to have interaction Source in the Card but no matter what I've tried google map always takes over. I've tried changing the interaction source inside googleMap modifier and there is no disable for on click events either.
If I changed googleMap with Column the interaction worked without any issues.
[code] Card( modifier = modifier, shape = CutCornerShape(0), elevation = CardDefaults.cardElevation(10.dp), onClick = { onCardClick.invoke() } ) { Box( modifier = modifier .height(IntrinsicSize.Max) .width(IntrinsicSize.Max) ) { GoogleMap( Modifier.fillMaxSize(), cameraPositionState = positionState ) { //... } //... } } [/code] I want to have interaction Source in the Card but no matter what I've tried google map always takes over. I've tried changing the interaction source inside googleMap modifier and there is no disable for on click events either.
If I changed googleMap with Column the interaction worked without any issues.