Overview
Delegate for events on GMSPanoramaView.
Public Member Functions | |
(void) | - panoramaView:willMoveToPanoramaID: |
Called when starting a move to another panorama. | |
(void) | - panoramaView:didMoveToPanorama: |
This is invoked every time the view .panorama property changes. | |
(void) | - panoramaView:didMoveToPanorama:nearCoordinate: |
Called when the panorama change was caused by invoking moveToPanoramaNearCoordinate:. | |
(void) | - panoramaView:error:onMoveNearCoordinate: |
Called when moveNearCoordinate: produces an error. | |
(void) | - panoramaView:error:onMoveToPanoramaID: |
Called when moveToPanoramaID: produces an error. | |
(void) | - panoramaView:didMoveCamera: |
Called repeatedly during changes to the camera on GMSPanoramaView. | |
(void) | - panoramaView:didTap: |
Called when a user has tapped on the GMSPanoramaView, but this tap was not consumed (taps may be consumed by e.g., tapping on a navigation arrow). | |
(BOOL) | - panoramaView:didTapMarker: |
Called after a marker has been tapped. | |
(void) | - panoramaViewDidStartRendering: |
Called when the panorama tiles for the current view have just been requested and are beginning to load. | |
(void) | - panoramaViewDidFinishRendering: |
Called when the panorama tiles have been loaded (or permanently failed to load) and rendered on screen. |
Member Function Documentation
- (void) panoramaView: | (GMSPanoramaView *) | view | |
willMoveToPanoramaID: | (NSString *) | panoramaID | |
[optional] |
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. panoramaView:didMoveToPanorama: will be called when the new panorama is ready.
- (void) panoramaView: | (GMSPanoramaView *) | view | |
didMoveToPanorama: | (nullable GMSPanorama *) | panorama | |
[optional] |
This is invoked every time the view
.panorama property changes.
- (void) panoramaView: | (GMSPanoramaView *) | view | |
didMoveToPanorama: | (GMSPanorama *) | panorama | |
nearCoordinate: | (CLLocationCoordinate2D) | coordinate | |
[optional] |
Called when the panorama change was caused by invoking moveToPanoramaNearCoordinate:.
The coordinate passed to that method will also be passed here.
- (void) panoramaView: | (GMSPanoramaView *) | view | |
error: | (NSError *) | error | |
onMoveNearCoordinate: | (CLLocationCoordinate2D) | coordinate | |
[optional] |
Called when moveNearCoordinate: produces an error.
- (void) panoramaView: | (GMSPanoramaView *) | view | |
error: | (NSError *) | error | |
onMoveToPanoramaID: | (NSString *) | panoramaID | |
[optional] |
Called when moveToPanoramaID: produces an error.
- (void) panoramaView: | (GMSPanoramaView *) | panoramaView | |
didMoveCamera: | (GMSPanoramaCamera *) | camera | |
[optional] |
Called repeatedly during changes to the camera on GMSPanoramaView.
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.
- (void) panoramaView: | (GMSPanoramaView *) | panoramaView | |
didTap: | (CGPoint) | point | |
[optional] |
Called when a user has tapped on the GMSPanoramaView, but this tap was not consumed (taps may be consumed by e.g., tapping on a navigation arrow).
- (BOOL) panoramaView: | (GMSPanoramaView *) | panoramaView | |
didTapMarker: | (GMSMarker *) | marker | |
[optional] |
Called after a marker has been tapped.
May return YES to indicate the event has been fully handled and suppress any default behavior.
- (void) panoramaViewDidStartRendering: | (GMSPanoramaView *) | panoramaView | [optional] |
Called when the panorama tiles for the current view have just been requested and are beginning to load.
- (void) panoramaViewDidFinishRendering: | (GMSPanoramaView *) | panoramaView | [optional] |
Called when the panorama tiles have been loaded (or permanently failed to load) and rendered on screen.