Page Summary
-
GoogleMap.OnMyLocationClickListeneris an interface used to handle clicks on the "My Location" dot in Google Maps. -
It includes a single method,
onMyLocationClick(Location location), which is triggered when the user taps the "My Location" dot, providing the current location. -
This method is executed on the Android UI thread, ensuring any UI updates within it are handled safely.
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. |
|---|