GMSPanorama.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // GMSPanorama.h
  3. // Google Maps SDK for iOS
  4. //
  5. // Copyright 2013 Google Inc.
  6. //
  7. // Usage of this SDK is subject to the Google Maps/Google Earth APIs Terms of
  8. // Service: https://developers.google.com/maps/terms
  9. //
  10. #import <CoreLocation/CoreLocation.h>
  11. #if __has_feature(modules)
  12. @import GoogleMapsBase;
  13. #else
  14. #import <GoogleMapsBase/GoogleMapsBase.h>
  15. #endif
  16. GMS_ASSUME_NONNULL_BEGIN
  17. @class GMSPanoramaLink;
  18. /**
  19. * GMSPanorama represents metadata for a specific panorama on the Earth. This class is not
  20. * instantiable directly and is obtained via GMSPanoramaService or GMSPanoramaView.
  21. */
  22. @interface GMSPanorama : NSObject
  23. /** The precise location of this panorama. */
  24. @property(nonatomic, readonly) CLLocationCoordinate2D coordinate;
  25. /** The ID of this panorama. Panoramas may change ID over time, so this should not be persisted */
  26. @property(nonatomic, copy, readonly) NSString *panoramaID;
  27. /** An array of GMSPanoramaLink describing the neighboring panoramas. */
  28. @property(nonatomic, copy, readonly) GMS_NSArrayOf(GMSPanoramaLink *) * links;
  29. @end
  30. GMS_ASSUME_NONNULL_END