I am getting the panning recognition to work by overriding dispatchTouchEvent for MapView. I think I will just have to separate out the tasks and do the same thing for the zoom control
On Apr 28, 6:03 am, jgostylo <jgost...@gmail.com> wrote: > Ok, I just tried to Override onDraw() in the MapView and it is a final > method so I can't do that. Then I saw onAnimationEnd() as inherited > from View so I decided to Override that. I set a break point and pan > around the map but the method never gets executed. > > I am still looking for a solution. The MapController does not appear > to have anything I could use to do this. > > On Apr 27, 8:29 pm, jgostylo <jgost...@gmail.com> wrote: > > > I have searched this group extensively and have not found the answer > > to my issue. > > > I have a lot of server data being loaded into overlays and I want to > > create the overlays as the user pans. Ideally it would wait for the > > user to stop panning before it started loading the data. > > > What is the best practices procedure for determining if the map has > > changed location or zoom level? I was looking for something along the > > lines of onLocationChanged() for MapView or onPan() but I have not > > seen anything like that. > > > Do I just need to set up my own parameters and Override onDraw() in > > the MapView and in that method run tests to see if the map has > > changed? This idea seems like overkill and would lead to overzealous > > server hits. > > > Anyone have a better idea? > > > Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---