Open y9san9 opened 12 months ago
@y9san9 Thank you for opening this issue. 🙏 Please check out these other resources that might help you get to a resolution in the meantime:
google-maps
tagThis is an automated message, feel free to ignore.
I am experiencing the same issue when adding a custom marker which contains of a card with elevation.
The code is:
MarkerComposable(
state = MarkerState(position = LEIPZIG_LATLNG),
) {
Card(
elevation = CardDefaults.cardElevation(
defaultElevation = 10.dp
),
modifier = Modifier.padding(4.dp)
) {
Text(text = "SOME TEXT", modifier = Modifier.padding(4.dp))
}
}
Which renders like this in the preview:
But looks like this on the map:
And I noticed that not only outer shadows are missing, but also shadows within my compose view.
Is there any workaround?
Same issue here. I also tried drawing the shadow with graphicsLayer instead and it doesn't work, which is strange because other graphicsLayer parameters work but shadowElevation does not.
Any update on this?
Expected result: Shadows draw normally:
Actual result: Shadows do not draw:
Composable used in two cases: https://yaso.su/GuR06AbK