AI-generated Key Takeaways
-
GoogleMap.OnMyLocationClickListeneris an interface used to handle clicks on the "My Location" dot in Google Maps. -
The
onMyLocationClickmethod within this interface is triggered when the user taps the "My Location" dot, providing the current location. -
This interaction occurs on the Android UI thread.
Callback interface for when the My Location dot (which signifies the user's location) is clicked.
Public Method Summary
| abstract void |
onMyLocationClick(Location location)
Called when the My Location dot is clicked.
|
Public Methods
public abstract void onMyLocationClick (Location location)
Called when the My Location dot is clicked.
This is called on the Android UI thread.
Parameters
| location | The current location of the My Location dot. |
|---|