GoogleMap.OnMyLocationChangeListener

public static interface GoogleMap.OnMyLocationChangeListener

This interface is deprecated.
Use com.google.android.gms.location.FusedLocationProviderApi instead. FusedLocationProviderApi provides improved location finding and power usage and is used by the "My Location" blue dot. See the Select Current Place tutorial, which uses the FusedLocationProviderApi, or the Location Developer Guide.

Callback interface for when the My Location dot/chevron (which signifies the user's location) changes location.

Public Method Summary

abstract void
onMyLocationChange(Location location)
Called when the Location of the My Location dot has changed (be it latitude/longitude, bearing or accuracy).

Public Methods

public abstract void onMyLocationChange (Location location)

Called when the Location of the My Location dot has changed (be it latitude/longitude, bearing or accuracy).

Parameters
location The current location of the My Location dot.

Send feedback about...

Maps SDK for Android
Need help? Visit our support page.