# GoogleMaps Framework Reference

# GMSPanoramaCameraUpdate

    @interface GMSPanoramaCameraUpdate : NSObject

`GMSPanoramaCameraUpdate` represents an update that may be applied to a `https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html`.
It encapsulates some logic for modifying the current camera.
It should only be constructed using the factory helper methods below.
- `


  ### [+rotateBy:](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaCameraUpdate#/c:objc(cs)GMSPanoramaCameraUpdate(cm)rotateBy:)


  ` Returns an update that increments the camera heading with `deltaHeading`.

  #### Declaration

  Swift

      class func rotate(by deltaHeading: CGFloat) -> GMSPanoramaCameraUpdate

  Objective-C

      + (nonnull GMSPanoramaCameraUpdate *)rotateBy:(CGFloat)deltaHeading;

- `


  ### [+setHeading:](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaCameraUpdate#/c:objc(cs)GMSPanoramaCameraUpdate(cm)setHeading:)


  ` Returns an update that sets the camera heading to the given value.

  #### Declaration

  Swift

      class func setHeading(_ heading: CGFloat) -> GMSPanoramaCameraUpdate

  Objective-C

      + (nonnull GMSPanoramaCameraUpdate *)setHeading:(CGFloat)heading;

- `


  ### [+setPitch:](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaCameraUpdate#/c:objc(cs)GMSPanoramaCameraUpdate(cm)setPitch:)


  ` Returns an update that sets the camera pitch to the given value.

  #### Declaration

  Swift

      class func setPitch(_ pitch: CGFloat) -> GMSPanoramaCameraUpdate

  Objective-C

      + (nonnull GMSPanoramaCameraUpdate *)setPitch:(CGFloat)pitch;

- `


  ### [+setZoom:](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaCameraUpdate#/c:objc(cs)GMSPanoramaCameraUpdate(cm)setZoom:)


  ` Returns an update that sets the camera zoom to the given value.

  #### Declaration

  Swift

      class func setZoom(_ zoom: CGFloat) -> GMSPanoramaCameraUpdate

  Objective-C

      + (nonnull GMSPanoramaCameraUpdate *)setZoom:(CGFloat)zoom;