Page Summary
-
MapColorScheme is an annotation that represents the integer value mapping for dark mode color schemes.
-
It defines three constants: DARK for dark mode, FOLLOW_SYSTEM to follow device settings, and LIGHT for light mode.
-
These color schemes can be applied using GoogleMap.setMapColorScheme and GoogleMapOptions.setMapColorScheme.
Represents the integer value mapping for dark mode color scheme.
@see GoogleMap.setMapColorScheme(MapColorScheme)
@see GoogleMapOptions.setMapColorScheme(MapColorScheme).
Constant Summary
| int | DARK | Represents dark mode. |
| int | FOLLOW_SYSTEM | Represents light or dark mode by referring to
Configuration.UI_MODE_NIGHT_MASK from device settings. |
| int | LIGHT | Represents light mode. |
Inherited Method Summary
Constants
public static final int DARK
Represents dark mode. Ignoring device settings.
public static final int FOLLOW_SYSTEM
Represents light or dark mode by referring to
Configuration.UI_MODE_NIGHT_MASK from device settings.
public static final int LIGHT
Represents light mode. Ignoring device settings.