AI-generated Key Takeaways
-
GMSNavigationLightingModeis an enum used to specify different color schemes for navigation based on ambient light conditions. -
It offers two modes:
GMSNavigationLightingModeNormalfor daylight andGMSNavigationLightingModeLowLightfor nighttime viewing. -
These modes are represented by integer values: 0 for
normaland 1 forlowLightrespectively 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 = 0Objective-C
GMSNavigationLightingModeNormal = 0 -
Use a lighting mode suitable for night viewing.
Declaration
Swift
case lowLight = 1Objective-C
GMSNavigationLightingModeLowLight