AI-generated Key Takeaways
-
GMSNavigationLightingMode
is an enum used to specify different color schemes for navigation based on ambient light conditions. -
It offers two modes:
GMSNavigationLightingModeNormal
for daylight andGMSNavigationLightingModeLowLight
for nighttime viewing. -
These modes are represented by integer values: 0 for
normal
and 1 forlowLight
respectively in both Swift and Objective-C.
GMSNavigationLightingMode
enum GMSNavigationLightingMode : NSInteger {}
Lighting mode is used to specify different color schemes based on available light.
-
Use a lighting mode suitable for daylight viewing.
Declaration
Swift
case normal = 0
Objective-C
GMSNavigationLightingModeNormal = 0
-
Use a lighting mode suitable for night viewing.
Declaration
Swift
case lowLight = 1
Objective-C
GMSNavigationLightingModeLowLight