setMapTheme

fun setMapTheme(theme: MapTheme)

Sets the desired map theme (Automatic, Day, Night).

The change is saved and applied to the map immediately.

Parameters

theme

The theme to set. Use the MapTheme enum, e.g., MapTheme.AUTOMATIC.