I have a jetpack compose app with a google map composable in a screen. I generated a theme for the app which supports light and dark modes and when my device is in dark mode, the app successfully changes to dark mode, but my google map composable is still being presented in light mode. Is there any way to tell that must use the theme of the app? On the other hand, the google maps app of the OS can switch between light and dark theme normally, so must be a way to achieve it on a Google Map composable, but can't find it on the official documentation.
k
krzysztof
03/10/2025, 9:43 AM
I've done G maps a while back, but from top of my memory, it did not support dark theme, but rather one had to manually switch the style of the map to dark
p
Pablo
03/10/2025, 9:47 AM
did you remember how did you that? there is not a section for it on the maps for android guide, or at least I can't find it