Hide

GoogleMap.OnMyLocationChangeListener

public static interface GoogleMap.OnMyLocationChangeListener
com.google.android.gms.maps.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 MyLocationDemoActivity in the sample applications folder for example example code, 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

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.