Stay organized with collections
Save and categorize content based on your preferences.
GMSPanoramaCameraUpdate
@interfaceGMSPanoramaCameraUpdate:NSObject
GMSPanoramaCameraUpdate represents an update that may be applied to a GMSPanoramaView.
It encapsulates some logic for modifying the current camera.
It should only be constructed using the factory helper methods below.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-15 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSPanoramaCameraUpdate\u003c/code\u003e objects are used to modify the camera view within a \u003ccode\u003eGMSPanoramaView\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThese updates control properties like heading, pitch, and zoom of the panorama camera.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use factory methods (e.g., \u003ccode\u003erotateBy\u003c/code\u003e, \u003ccode\u003esetHeading\u003c/code\u003e) to create these updates.\u003c/p\u003e\n"],["\u003cp\u003eUpdates are applied to a \u003ccode\u003eGMSPanoramaView\u003c/code\u003e to change the user's perspective.\u003c/p\u003e\n"]]],[],null,["GMSPanoramaCameraUpdate \n\n @interface GMSPanoramaCameraUpdate : NSObject\n\n`GMSPanoramaCameraUpdate` represents an update that may be applied to a [GMSPanoramaView](../Classes/GMSPanoramaView.html).\nIt encapsulates some logic for modifying the current camera.\nIt should only be constructed using the factory helper methods below.\n- `\n ``\n ``\n `\n\n [+rotateBy:](#/c:objc(cs)GMSPanoramaCameraUpdate(cm)rotateBy:)`\n ` \n Returns an update that increments the camera heading with `deltaHeading`. \n\n Declaration \n Swift \n\n class func rotate(by deltaHeading: CGFloat) -\u003e GMSPanoramaCameraUpdate\n\n Objective-C \n\n + (nonnull GMSPanoramaCameraUpdate *)rotateBy:(CGFloat)deltaHeading;\n\n- `\n ``\n ``\n `\n\n [+setHeading:](#/c:objc(cs)GMSPanoramaCameraUpdate(cm)setHeading:)`\n ` \n Returns an update that sets the camera heading to the given value. \n\n Declaration \n Swift \n\n class func setHeading(_ heading: CGFloat) -\u003e GMSPanoramaCameraUpdate\n\n Objective-C \n\n + (nonnull GMSPanoramaCameraUpdate *)setHeading:(CGFloat)heading;\n\n- `\n ``\n ``\n `\n\n [+setPitch:](#/c:objc(cs)GMSPanoramaCameraUpdate(cm)setPitch:)`\n ` \n Returns an update that sets the camera pitch to the given value. \n\n Declaration \n Swift \n\n class func setPitch(_ pitch: CGFloat) -\u003e GMSPanoramaCameraUpdate\n\n Objective-C \n\n + (nonnull GMSPanoramaCameraUpdate *)setPitch:(CGFloat)pitch;\n\n- `\n ``\n ``\n `\n\n [+setZoom:](#/c:objc(cs)GMSPanoramaCameraUpdate(cm)setZoom:)`\n ` \n Returns an update that sets the camera zoom to the given value. \n\n Declaration \n Swift \n\n class func setZoom(_ zoom: CGFloat) -\u003e GMSPanoramaCameraUpdate\n\n Objective-C \n\n + (nonnull GMSPanoramaCameraUpdate *)setZoom:(CGFloat)zoom;"]]