GoogleMaps Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
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\u003eGMSOrientation\u003c/code\u003e is a structure that combines heading and pitch to determine the viewing angle in a panorama.\u003c/p\u003e\n"],["\u003cp\u003eIt is used to control the viewing direction of a \u003ccode\u003eGMSPanoramaCamera\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDefined as a struct in both Swift and Objective-C.\u003c/p\u003e\n"]]],["`GMSOrientation` is a tuple comprised of heading and pitch. This tuple dictates the viewing direction of a `GMSPanoramaCamera`. It's defined as a struct in both Swift and Objective-C. The `GMSOrientation` struct controls the camera's orientation within a panorama, enabling specific viewpoints to be set.\n"],null,["# GoogleMaps Framework Reference\n\nGMSOrientation\n==============\n\n typedef struct ../Structs/GMSOrientation.html ../Structs/GMSOrientation.html\n\n[GMSOrientation](../Structs/GMSOrientation.html) is a tuple of heading and pitch used to control the viewing\ndirection of a [GMSPanoramaCamera](../Classes/GMSPanoramaCamera.html).\n- `\n ``\n ``\n `\n\n ### [GMSOrientation](../Type-Definitions/GMSOrientation/GMSOrientation.html)\n\n `\n ` \n [GMSOrientation](../Structs/GMSOrientation.html) is a tuple of heading and pitch used to control the viewing\n direction of a [GMSPanoramaCamera](../Classes/GMSPanoramaCamera.html). \n\n #### Declaration\n\n Swift \n\n struct ../Structs/GMSOrientation.html\n\n Objective-C \n\n struct {}"]]