I'm creating an Android app that searches for items based on the visible area of the MapView. Is there a way to set up a listener on my MapView to detect when a map has been panned or zoomed?
A:
The only way that I can think of is to extends the MapView and override the OnTouchEvent and watch for the Up action. This will tell you that the user has finished moving and you can get the lat/lon span to determine the region you should check out.
CaseyB
2010-02-24 20:16:38
A:
look at this this solves the problem at the origin!
http://pa.rezendi.com/2010/03/responding-to-zooms-and-pans-in.html
sgd
2010-08-17 08:52:26