GMSPanoramaCameraUpdate.h 971 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // GMSPanoramaCameraUpdate.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. #if __has_feature(modules)
  11. @import GoogleMapsBase;
  12. #else
  13. #import <GoogleMapsBase/GoogleMapsBase.h>
  14. #endif
  15. GMS_ASSUME_NONNULL_BEGIN
  16. @interface GMSPanoramaCameraUpdate : NSObject
  17. /** Returns an update that increments the camera heading with |deltaHeading|. */
  18. + (GMSPanoramaCameraUpdate *)rotateBy:(CGFloat)deltaHeading;
  19. /** Returns an update that sets the camera heading to the given value. */
  20. + (GMSPanoramaCameraUpdate *)setHeading:(CGFloat)heading;
  21. /** Returns an update that sets the camera pitch to the given value. */
  22. + (GMSPanoramaCameraUpdate *)setPitch:(CGFloat)pitch;
  23. /** Returns an update that sets the camera zoom to the given value. */
  24. + (GMSPanoramaCameraUpdate *)setZoom:(CGFloat)zoom;
  25. @end
  26. GMS_ASSUME_NONNULL_END