# GoogleMaps Framework Reference

# GMSMapLayer

    @interface GMSMapLayer : https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSCALayer.html

`GMSMapLayer` is a custom subclass of `CALayer`, provided as the layer class on `https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMapView.html`.
This layer should not be instantiated directly. It provides model access to the camera normally
defined on `https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMapView.html`.

Modifying or animating these properties will typically interrupt any current gesture on
`https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMapView.html`, e.g., a user's pan or rotation. Similarly, if a user performs an enabled gesture
during an animation, the animation will stop 'in-place' (at the current presentation value).
- `


  ### [cameraLatitude](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMapLayer#/c:objc(cs)GMSMapLayer(py)cameraLatitude)


  `

  #### Declaration

  Swift

      var cameraLatitude: CLLocationDegrees { get set }

  Objective-C

      @property(nonatomic) CLLocationDegrees cameraLatitude

- `


  ### [cameraLongitude](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMapLayer#/c:objc(cs)GMSMapLayer(py)cameraLongitude)


  `

  #### Declaration

  Swift

      var cameraLongitude: CLLocationDegrees { get set }

  Objective-C

      @property(nonatomic) CLLocationDegrees cameraLongitude

- `


  ### [cameraBearing](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMapLayer#/c:objc(cs)GMSMapLayer(py)cameraBearing)


  `

  #### Declaration

  Swift

      var cameraBearing: CLLocationDirection { get set }

  Objective-C

      @property(nonatomic) CLLocationDirection cameraBearing

- `


  ### [cameraZoomLevel](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMapLayer#/c:objc(cs)GMSMapLayer(py)cameraZoomLevel)


  `

  #### Declaration

  Swift

      var cameraZoomLevel: Float { get set }

  Objective-C

      @property(nonatomic) float cameraZoomLevel

- `


  ### [cameraViewingAngle](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMapLayer#/c:objc(cs)GMSMapLayer(py)cameraViewingAngle)


  `

  #### Declaration

  Swift

      var cameraViewingAngle: Double { get set }

  Objective-C

      @property(nonatomic) double cameraViewingAngle