GoogleNavigation Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSNavigationCameraMode
enum GMSNavigationCameraMode : NSInteger {}
The camera mode which determines the camera following behavior.
-
Disables camera following. The camera is in this mode when it is being panned by the user.
Declaration
Objective-C
GMSNavigationCameraModeFree = 0
-
Follows the user location with the current followingPerspective.
Declaration
Objective-C
GMSNavigationCameraModeFollowing
-
Shows an overview of the remaining route. This is dynamically updated in guidance mode.
Declaration
Objective-C
GMSNavigationCameraModeOverview
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\u003eGMSNavigationCameraMode\u003c/code\u003e is an enum defining how the camera behaves during navigation.\u003c/p\u003e\n"],["\u003cp\u003eIt offers three modes: \u003ccode\u003efree\u003c/code\u003e (user-controlled), \u003ccode\u003efollowing\u003c/code\u003e (tracks user location), and \u003ccode\u003eoverview\u003c/code\u003e (displays the remaining route).\u003c/p\u003e\n"],["\u003cp\u003eEach mode dictates the camera's perspective and movement during navigation, enhancing the user experience.\u003c/p\u003e\n"]]],[],null,["# GoogleNavigation Framework Reference\n\nGMSNavigationCameraMode\n=======================\n\n enum GMSNavigationCameraMode : NSInteger {}\n\nThe camera mode which determines the camera following behavior.\n- `\n ``\n ``\n `\n\n ### [GMSNavigationCameraModeFree](#/c:@E@GMSNavigationCameraMode@GMSNavigationCameraModeFree)\n\n `\n ` \n Disables camera following. The camera is in this mode when it is being panned by the user. \n\n #### Declaration\n\n Swift \n\n case free = 0\n\n Objective-C \n\n GMSNavigationCameraModeFree = 0\n\n- `\n ``\n ``\n `\n\n ### [GMSNavigationCameraModeFollowing](#/c:@E@GMSNavigationCameraMode@GMSNavigationCameraModeFollowing)\n\n `\n ` \n Follows the user location with the current followingPerspective. \n\n #### Declaration\n\n Swift \n\n case following = 1\n\n Objective-C \n\n GMSNavigationCameraModeFollowing\n\n- `\n ``\n ``\n `\n\n ### [GMSNavigationCameraModeOverview](#/c:@E@GMSNavigationCameraMode@GMSNavigationCameraModeOverview)\n\n `\n ` \n Shows an overview of the remaining route. This is dynamically updated in guidance mode. \n\n #### Declaration\n\n Swift \n\n case overview = 2\n\n Objective-C \n\n GMSNavigationCameraModeOverview"]]