GMSPanoramaLayer Class Reference

GMSPanoramaLayer Class Reference

Overview

GMSPanoramaLayer is a custom subclass of CALayer, provided as the layer class on GMSPanoramaView.

This layer should not be instantiated directly.

Inherits GMSCALayer.

Properties

CLLocationDirection cameraHeading
double cameraPitch
float cameraZoom
double cameraFOV

(Note that these are not member functions.)

NSString *const kGMSLayerPanoramaHeadingKey
 kGMSLayerPanoramaHeadingKey ranges from [0, 360).
NSString *const kGMSLayerPanoramaPitchKey
 kGMSLayerPanoramaPitchKey ranges from [-90, 90].
NSString *const kGMSLayerPanoramaZoomKey
 kGMSLayerCameraZoomLevelKey ranges from [1, 5], default 1.
NSString *const kGMSLayerPanoramaFOVKey
 kGMSLayerPanoramaFOVKey ranges from [1, 160] (in degrees), default 90.

- (NSString* const) kGMSLayerPanoramaHeadingKey [related]

kGMSLayerPanoramaHeadingKey ranges from [0, 360).

- (NSString* const) kGMSLayerPanoramaPitchKey [related]

kGMSLayerPanoramaPitchKey ranges from [-90, 90].

- (NSString* const) kGMSLayerPanoramaZoomKey [related]

kGMSLayerCameraZoomLevelKey ranges from [1, 5], default 1.

- (NSString* const) kGMSLayerPanoramaFOVKey [related]

kGMSLayerPanoramaFOVKey ranges from [1, 160] (in degrees), default 90.


Property Documentation

- (CLLocationDirection) cameraHeading [read, write, assign]
- (double) cameraPitch [read, write, assign]
- (float) cameraZoom [read, write, assign]
- (double) cameraFOV [read, write, assign]