GMSPanoramaCameraUpdate Class Reference

GMSPanoramaCameraUpdate Class Reference

Overview

GMSPanoramaCameraUpdate represents an update that may be applied to a GMSPanoramaView.

It encapsulates some logic for modifying the current camera. It should only be constructed using the factory helper methods below.

Static Public Member Functions

(GMSPanoramaCameraUpdate *) + rotateBy:
 Returns an update that increments the camera heading with deltaHeading.
(GMSPanoramaCameraUpdate *) + setHeading:
 Returns an update that sets the camera heading to the given value.
(GMSPanoramaCameraUpdate *) + setPitch:
 Returns an update that sets the camera pitch to the given value.
(GMSPanoramaCameraUpdate *) + setZoom:
 Returns an update that sets the camera zoom to the given value.

Member Function Documentation

+ (GMSPanoramaCameraUpdate *) rotateBy: (CGFloat)  deltaHeading

Returns an update that increments the camera heading with deltaHeading.

+ (GMSPanoramaCameraUpdate *) setHeading: (CGFloat)  heading

Returns an update that sets the camera heading to the given value.

+ (GMSPanoramaCameraUpdate *) setPitch: (CGFloat)  pitch

Returns an update that sets the camera pitch to the given value.

+ (GMSPanoramaCameraUpdate *) setZoom: (CGFloat)  zoom

Returns an update that sets the camera zoom to the given value.