GoogleNavigation Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
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
Objective-C
GMSNavigationLightingModeNormal = 0
-
Use a lighting mode suitable for night viewing.
Declaration
Objective-C
GMSNavigationLightingModeLowLight
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSNavigationLightingMode\u003c/code\u003e is an enum used to specify different color schemes for navigation based on ambient light conditions.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two modes: \u003ccode\u003eGMSNavigationLightingModeNormal\u003c/code\u003e for daylight and \u003ccode\u003eGMSNavigationLightingModeLowLight\u003c/code\u003e for nighttime viewing.\u003c/p\u003e\n"],["\u003cp\u003eThese modes are represented by integer values: 0 for \u003ccode\u003enormal\u003c/code\u003e and 1 for \u003ccode\u003elowLight\u003c/code\u003e respectively in both Swift and Objective-C.\u003c/p\u003e\n"]]],[],null,["# GoogleNavigation Framework Reference\n\nGMSNavigationLightingMode\n=========================\n\n enum GMSNavigationLightingMode : NSInteger {}\n\nLighting mode is used to specify different color schemes based on available light.\n- `\n ``\n ``\n `\n\n ### [GMSNavigationLightingModeNormal](#/c:@E@GMSNavigationLightingMode@GMSNavigationLightingModeNormal)\n\n `\n ` \n Use a lighting mode suitable for daylight viewing. \n\n #### Declaration\n\n Swift \n\n case normal = 0\n\n Objective-C \n\n GMSNavigationLightingModeNormal = 0\n\n- `\n ``\n ``\n `\n\n ### [GMSNavigationLightingModeLowLight](#/c:@E@GMSNavigationLightingMode@GMSNavigationLightingModeLowLight)\n\n `\n ` \n Use a lighting mode suitable for night viewing. \n\n #### Declaration\n\n Swift \n\n case lowLight = 1\n\n Objective-C \n\n GMSNavigationLightingModeLowLight"]]