AI-generated Key Takeaways
-
GMSPanoramaprovides metadata for a specific panorama on Earth, obtained throughGMSPanoramaServiceorGMSPanoramaView. -
It includes the panorama's location (
coordinate), a non-persistent ID (panoramaID), and links to neighboring panoramas (links). -
Developers cannot directly create instances of
GMSPanorama; they must be obtained via designated services or views.
GMSPanorama
@interface GMSPanorama : NSObjectGMSPanorama represents metadata for a specific panorama on the Earth. This class is not
instantiable directly and is obtained via GMSPanoramaService or GMSPanoramaView.
-
The precise location of this panorama.
Declaration
Swift
var coordinate: CLLocationCoordinate2D { get }Objective-C
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate; -
The ID of this panorama. Panoramas may change ID over time, so this should not be persisted
Declaration
Swift
var panoramaID: String { get }Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull panoramaID; -
An array of
GMSPanoramaLinkdescribing the neighboring panoramas.Declaration
Swift
var links: [GMSPanoramaLink] { get }Objective-C
@property (nonatomic, copy, readonly) NSArray<GMSPanoramaLink *> *_Nonnull links;