Normal and low-light modes Stay organized with collections Save and categorize content based on your preferences.
The navigation map does not directly follow system dark and light modes.
Instead, the navigation-enabled map supports "normal" and "low light" modesusingGMSNavigationLightingMode.
Use thesuggestedLightingMode property ofGMSNavigatorand set the lighting mode based on the time of day and the device location. Setthis property both at initialization and upon changes. Any time the suggestedlighting mode changes, the-navigator:didChangeSuggestedLightingMode:listener method is invoked.
SeeModify the navigationUI to learn how tocustomize these modes.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-11-21 UTC.