AI-generated Key Takeaways
-
StreetViewPanorama.OnStreetViewPanoramaClickListeneris an interface used to handle user taps on a panorama within a Google Map. -
The
onStreetViewPanoramaClickmethod is called when a user taps the panorama, providing the location of the tap in terms of tilt and bearing. -
This listener only triggers if no other overlays on the panorama have consumed the tap event.
-
All interactions with this listener occur on the main thread, ensuring thread safety for UI updates.
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. |
|---|