GoogleMaps Framework Reference

  • GMSPanoramaLayer is a custom subclass of CALayer used for displaying panoramas and is accessed through GMSPanoramaView .

  • It should not be directly instantiated but is automatically used within GMSPanoramaView .

  • This layer provides properties for controlling the panorama's viewpoint, including cameraHeading , cameraPitch , cameraZoom , and cameraFOV .

  • These properties allow developers to adjust the user's perspective within the panoramic scene.

GMSPanoramaLayer

  @interface 
 GMSPanoramaLayer 
 : 
  GMSCALayer 
 
 

GMSPanoramaLayer is a custom subclass of CALayer, provided as the layer class on GMSPanoramaView . This layer should not be instantiated directly.

  • Declaration

    Swift

      var 
     cameraHeading 
     : 
     CLLocationDirection 
     { 
     get 
     set 
     } 
     
    

    Objective-C

      @property 
     ( 
     nonatomic 
     ) 
     CLLocationDirection 
     cameraHeading 
     
    
  • Declaration

    Swift

      var 
     cameraPitch 
     : 
     Double 
     { 
     get 
     set 
     } 
     
    

    Objective-C

      @property 
     ( 
     nonatomic 
     ) 
     double 
     cameraPitch 
     
    
  • Declaration

    Swift

      var 
     cameraZoom 
     : 
     Float 
     { 
     get 
     set 
     } 
     
    

    Objective-C

      @property 
     ( 
     nonatomic 
     ) 
     float 
     cameraZoom 
     
    
  • Declaration

    Swift

      var 
     cameraFOV 
     : 
     Double 
     { 
     get 
     set 
     } 
     
    

    Objective-C

      @property 
     ( 
     nonatomic 
     ) 
     double 
     cameraFOV 
     
    
Design a Mobile Site
View Site in Mobile | Classic
Share by: