Re: [android-developers] Google Maps API: Catching zoom and panning events

2010-06-10 Thread Raymond C. Rodgers
On 6/9/2010 7:13 PM, Steve Howard wrote: On Tue, Jun 8, 2010 at 9:03 PM, Raymond Rodgers mailto:raym...@badlucksoft.com>> wrote: On Tue, Jun 8, 2010 at 7:14 PM, Steve Howard mailto:ste...@android.com>> wrote: A simple solution is to add an Overlay, override the draw() m

Re: [android-developers] Google Maps API: Catching zoom and panning events

2010-06-09 Thread Steve Howard
On Tue, Jun 8, 2010 at 9:03 PM, Raymond Rodgers wrote: > > > On Tue, Jun 8, 2010 at 7:14 PM, Steve Howard wrote: > >> A simple solution is to add an Overlay, override the draw() method, and >> not actually do any drawing, but simply use the method as a hook to know >> anytime the map has potentia

Re: [android-developers] Google Maps API: Catching zoom and panning events

2010-06-08 Thread Kevin Duffey
I think you have to write code to handle gestures... not sure tho, haven't actually tried that. I recall some chatter about this issue when Moto Droid first came out... and Android 2.0+, that multi-touch was available, but apps weren't using it. Only apps that specifically handled the gestures work

Re: [android-developers] Google Maps API: Catching zoom and panning events

2010-06-08 Thread Raymond Rodgers
On Tue, Jun 8, 2010 at 7:14 PM, Steve Howard wrote: > A simple solution is to add an Overlay, override the draw() method, and not > actually do any drawing, but simply use the method as a hook to know anytime > the map has potentially moved or zoomed. The problem is, this will get > called more

Re: [android-developers] Google Maps API: Catching zoom and panning events

2010-06-08 Thread Steve Howard
A simple solution is to add an Overlay, override the draw() method, and not actually do any drawing, but simply use the method as a hook to know anytime the map has potentially moved or zoomed. The problem is, this will get called more often than necessary, so you'll need some custom logic to deci

[android-developers] Google Maps API: Catching zoom and panning events

2010-06-07 Thread Raymond Rodgers
I'm writing an app that will be doing queries based on what's currently viewable in a MapActivity. Currently, I've extended the MapActivity class and I'm implementing OnZoomListener and setting my activity class as the listener on the ZoomButtonsController. This works fine when the zoom buttons