I made an application which shows the current location of the user using the MyLocationOverlay class. However, when the user changes his location, the marker is not recentered. How do I implement the “follow me” feature?
I am thinking of making the LocationManager to update as frequently as possible and then calling the animateTo method inside the onLocationChanged method but it seems to be a bad solution. Is there any way of doing it?
What I do is extend
MyLocationOverlayas an inner class of myMapActivity. Then, I overrideonLocationChangedand useanimateToon myMapControllerin that method.