GoogleNavigation Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSPanoramaLink
@interface GMSPanoramaLink : NSObject
Links from a GMSPanorama
to neighboring panoramas.
-
Angle of the neighboring panorama, clockwise from north in degrees.
Declaration
Swift
var heading: CGFloat { get set }
Objective-C
@property (nonatomic) CGFloat heading;
-
Panorama ID for the neighboring panorama. Do not store this persistenly, it changes in time.
Declaration
Swift
var panoramaID: String { get set }
Objective-C
@property (nonatomic, copy) NSString *_Nonnull panoramaID;
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\u003eGMSPanoramaLink\u003c/code\u003e objects represent connections between panoramas, allowing navigation to neighboring views.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eheading\u003c/code\u003e property indicates the direction of the neighboring panorama relative to north, measured in degrees.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003epanoramaID\u003c/code\u003e uniquely identifies the neighboring panorama but should not be stored permanently due to potential changes.\u003c/p\u003e\n"]]],["`GMSPanoramaLink` details connections between panoramas. Key information includes: `heading`, a `CGFloat` value representing the neighboring panorama's angle clockwise from north, and `panoramaID`, a `String` (Objective-C: `NSString`) that uniquely identifies the neighboring panorama. The `panoramaID` should not be persistently stored, as it is subject to change. The information can be retrieved in both Swift and Objective-C.\n"],null,["# GoogleNavigation Framework Reference\n\nGMSPanoramaLink\n===============\n\n @interface GMSPanoramaLink : NSObject\n\nLinks from a [GMSPanorama](../Classes/GMSPanorama.html) to neighboring panoramas.\n- `\n ``\n ``\n `\n\n ### [heading](#/c:objc(cs)GMSPanoramaLink(py)heading)\n\n `\n ` \n Angle of the neighboring panorama, clockwise from north in degrees. \n\n #### Declaration\n\n Swift \n\n var heading: CGFloat { get set }\n\n Objective-C \n\n @property (nonatomic) CGFloat heading;\n\n- `\n ``\n ``\n `\n\n ### [panoramaID](#/c:objc(cs)GMSPanoramaLink(py)panoramaID)\n\n `\n ` \n Panorama ID for the neighboring panorama. Do not store this persistenly, it changes in time. \n\n #### Declaration\n\n Swift \n\n var panoramaID: String { get set }\n\n Objective-C \n\n @property (nonatomic, copy) NSString *_Nonnull panoramaID;"]]