GoogleNavigation Framework Reference

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

    Swift

    case free = 0

    Objective-C

    GMSNavigationCameraModeFree = 0
  • Follows the user location with the current followingPerspective.

    Declaration

    Swift

    case following = 1

    Objective-C

    GMSNavigationCameraModeFollowing
  • Shows an overview of the remaining route. This is dynamically updated in guidance mode.

    Declaration

    Swift

    case overview = 2

    Objective-C

    GMSNavigationCameraModeOverview