AI-generated Key Takeaways
-
StreetViewPanorama.OnStreetViewPanoramaClickListeneris an interface to handle user taps on a panorama view. -
The
onStreetViewPanoramaClickmethod is triggered when a user taps the panorama, providing tilt and bearing information of the tapped point. -
This listener is only called if no overlays on the panorama have consumed the tap event.
-
onStreetViewPanoramaClickis always executed on the main thread.
Callback interface for when the user taps on the panorama.
Listeners will be invoked on the main thread
Public Method Summary
| abstract void |
onStreetViewPanoramaClick(StreetViewPanoramaOrientation orientation)
Called when the user makes a tap gesture on the panorama, but only if none of the overlays of
the panorama handled the gesture.
|
Public Methods
public abstract void onStreetViewPanoramaClick (StreetViewPanoramaOrientation orientation)
Called when the user makes a tap gesture on the panorama, but only if none of the overlays of the panorama handled the gesture. Implementations of this method are always invoked on the main thread.
Parameters
| orientation | The tilt and bearing values corresponding to the point on the screen where the user tapped. These values have an absolute value within a specific panorama, and are independent of the current orientation of the camera. |
|---|