| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- //
- // GMSPanoramaLayer.h
- // Google Maps SDK for iOS
- //
- // Copyright 2013 Google Inc.
- //
- // Usage of this SDK is subject to the Google Maps/Google Earth APIs Terms of
- // Service: https://developers.google.com/maps/terms
- //
- #import <CoreLocation/CoreLocation.h>
- #import <QuartzCore/QuartzCore.h>
- #import <GoogleMaps/GMSCALayer.h>
- #if __has_feature(modules)
- @import GoogleMapsBase;
- #else
- #import <GoogleMapsBase/GoogleMapsBase.h>
- #endif
- GMS_ASSUME_NONNULL_BEGIN
- /** kGMSLayerPanoramaHeadingKey ranges from [0, 360). */
- extern NSString *const kGMSLayerPanoramaHeadingKey;
- /** kGMSLayerPanoramaPitchKey ranges from [-90, 90]. */
- extern NSString *const kGMSLayerPanoramaPitchKey;
- /** kGMSLayerCameraZoomLevelKey ranges from [1, 5], default 1. */
- extern NSString *const kGMSLayerPanoramaZoomKey;
- /** kGMSLayerPanoramaFOVKey ranges from [1, 160] (in degrees), default 90. */
- extern NSString *const kGMSLayerPanoramaFOVKey;
- /**
- * GMSPanoramaLayer is a custom subclass of CALayer, provided as the layer
- * class on GMSPanoramaView. This layer should not be instantiated directly.
- */
- @interface GMSPanoramaLayer : GMSCALayer
- @property(nonatomic, assign) CLLocationDirection cameraHeading;
- @property(nonatomic, assign) double cameraPitch;
- @property(nonatomic, assign) float cameraZoom;
- @property(nonatomic, assign) double cameraFOV;
- @end
- GMS_ASSUME_NONNULL_END
|