# GMSPanoramaViewDelegate

    @protocol GMSPanoramaViewDelegate <NSObject>

Delegate for events on `https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html`.
- `


  ### [-panoramaView:willMoveToPanoramaID:](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Protocols/GMSPanoramaViewDelegate#/c:objc(pl)GMSPanoramaViewDelegate(im)panoramaView:willMoveToPanoramaID:)


  ` Called when starting a move to another panorama.

  This can be the result of interactive navigation to a neighbouring panorama.

  At the moment this method is called, the `view`.panorama is still pointing to the old panorama,
  as the new panorama identified by `panoID` is not yet resolved.
  `https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Protocols/GMSPanoramaViewDelegate.html#/c:objc(pl)GMSPanoramaViewDelegate(im)panoramaView:didMoveToPanorama:` will be called when the new panorama is ready.

  #### Declaration

  Swift

      optional func panoramaView(_ view: https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html, willMoveToPanoramaID panoramaID: String)

  Objective-C

      - (void)panoramaView:(nonnull https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html *)view
          willMoveToPanoramaID:(nonnull NSString *)panoramaID;

- `


  ### [-panoramaView:didMoveToPanorama:](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Protocols/GMSPanoramaViewDelegate#/c:objc(pl)GMSPanoramaViewDelegate(im)panoramaView:didMoveToPanorama:)


  ` This is invoked every time the `view`.panorama property changes.

  #### Declaration

  Swift

      optional func panoramaView(_ view: https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html, didMoveTo panorama: https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanorama.html?)

  Objective-C

      - (void)panoramaView:(nonnull https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html *)view
          didMoveToPanorama:(nullable https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanorama.html *)panorama;

- `


  ### [-panoramaView:didMoveToPanorama:nearCoordinate:](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Protocols/GMSPanoramaViewDelegate#/c:objc(pl)GMSPanoramaViewDelegate(im)panoramaView:didMoveToPanorama:nearCoordinate:)


  ` Called when the panorama change was caused by invoking `-moveToPanoramaNearCoordinate:`. The
  coordinate passed to that method will also be passed here.

  #### Declaration

  Swift

      optional func panoramaView(_ view: https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html, didMoveTo panorama: https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanorama.html, nearCoordinate coordinate: CLLocationCoordinate2D)

  Objective-C

      - (void)panoramaView:(nonnull https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html *)view
          didMoveToPanorama:(nonnull https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanorama.html *)panorama
             nearCoordinate:(CLLocationCoordinate2D)coordinate;

- `


  ### [-panoramaView:error:onMoveNearCoordinate:](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Protocols/GMSPanoramaViewDelegate#/c:objc(pl)GMSPanoramaViewDelegate(im)panoramaView:error:onMoveNearCoordinate:)


  ` Called when `-moveNearCoordinate:` produces an error.

  #### Declaration

  Swift

      optional func panoramaView(_ view: https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html, error: any Error, onMoveNearCoordinate coordinate: CLLocationCoordinate2D)

  Objective-C

      - (void)panoramaView:(nonnull https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html *)view
                         error:(nonnull NSError *)error
          onMoveNearCoordinate:(CLLocationCoordinate2D)coordinate;

- `


  ### [-panoramaView:error:onMoveToPanoramaID:](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Protocols/GMSPanoramaViewDelegate#/c:objc(pl)GMSPanoramaViewDelegate(im)panoramaView:error:onMoveToPanoramaID:)


  ` Called when `-moveToPanoramaID:` produces an error.

  #### Declaration

  Swift

      optional func panoramaView(_ view: https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html, error: any Error, onMoveToPanoramaID panoramaID: String)

  Objective-C

      - (void)panoramaView:(nonnull https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html *)view
                       error:(nonnull NSError *)error
          onMoveToPanoramaID:(nonnull NSString *)panoramaID;

- `


  ### [-panoramaView:didMoveCamera:](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Protocols/GMSPanoramaViewDelegate#/c:objc(pl)GMSPanoramaViewDelegate(im)panoramaView:didMoveCamera:)


  ` Called repeatedly during changes to the camera on `https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html`. This may not be called for
  all intermediate camera values, but is always called for the final position of the camera after
  an animation or gesture.

  #### Declaration

  Swift

      optional func panoramaView(_ panoramaView: https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html, didMove camera: https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaCamera.html)

  Objective-C

      - (void)panoramaView:(nonnull https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html *)panoramaView
             didMoveCamera:(nonnull https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaCamera.html *)camera;

- `


  ### [-panoramaView:didTap:](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Protocols/GMSPanoramaViewDelegate#/c:objc(pl)GMSPanoramaViewDelegate(im)panoramaView:didTap:)


  ` Called when a user has tapped on the `https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html`, but this tap was not consumed (taps may
  be consumed by e.g., tapping on a navigation arrow).

  #### Declaration

  Swift

      optional func panoramaView(_ panoramaView: https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html, didTap point: CGPoint)

  Objective-C

      - (void)panoramaView:(nonnull https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html *)panoramaView
                    didTap:(CGPoint)point;

- `


  ### [-panoramaView:didTapMarker:](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Protocols/GMSPanoramaViewDelegate#/c:objc(pl)GMSPanoramaViewDelegate(im)panoramaView:didTapMarker:)


  ` Called after a marker has been tapped. May return YES to indicate the event has been fully
  handled and suppress any default behavior.

  #### Declaration

  Swift

      optional func panoramaView(_ panoramaView: https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html, didTap marker: https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMarker.html) -> Bool

  Objective-C

      - (BOOL)panoramaView:(nonnull https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html *)panoramaView
              didTapMarker:(nonnull https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSMarker.html *)marker;

- `


  ### [-panoramaViewDidStartRendering:](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Protocols/GMSPanoramaViewDelegate#/c:objc(pl)GMSPanoramaViewDelegate(im)panoramaViewDidStartRendering:)


  ` Called when the panorama tiles for the current view have just been requested and are beginning to
  load.

  #### Declaration

  Swift

      optional func panoramaViewDidStartRendering(_ panoramaView: https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html)

  Objective-C

      - (void)panoramaViewDidStartRendering:(nonnull https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html *)panoramaView;

- `


  ### [-panoramaViewDidFinishRendering:](https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Protocols/GMSPanoramaViewDelegate#/c:objc(pl)GMSPanoramaViewDelegate(im)panoramaViewDidFinishRendering:)


  ` Called when the panorama tiles have been loaded (or permanently failed to load) and rendered on
  screen.

  #### Declaration

  Swift

      optional func panoramaViewDidFinishRendering(_ panoramaView: https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html)

  Objective-C

      - (void)panoramaViewDidFinishRendering:(nonnull https://developers.google.com/maps/documentation/ios-sdk/reference/objc/Classes/GMSPanoramaView.html *)panoramaView;