Oh, I see what you're saying. I wasn't at all testing it DURING the
pinch-zoom, only when it actually finished (my app doesn't require
that level of accuracy). Yes, I believe when I was testing it, it
didn't fire during the zoom.
On Feb 13, 11:43 pm, JP wrote:
> Correct.
> I don't get any draw(
Correct.
I don't get any draw()'s in an Overlay during pinch-to-zoom action.
Once released, the map snaps to the next zoom level (as driven by the
MapView et al). This triggers draw()'s and the app has an opportunity
to catch up.
Can you confirm draw()'s are indeed fired during pinch-to-zoom, as
lo
I just tested this out, and it seems like it does work (that is,
draw() IS getting called after a zoom). And, it doesn't seem to be
hogging on system resources, calling draw repeatedly. So all in all,
I'd say it's a workable workaround, though a cleaner interface in the
API would be more convenie
Oh, wait, hang on, you're saying the draw()s AREN'T being dispatched
in the Overlays during pinch-zoom? Huh. Well, if that's true, then
that wouldn't work at all. I'll have to test it later.
On Feb 12, 2:16 am, JP wrote:
> Not sure if I follow.
> As nothing is fired in the way of an Overlay -
I think I see what he's saying. The theory is that the Overlay's
draw() method would be called after a zoom, among other times. You
could pass the Overlay a MapView to check over the zoom level, and
during the draw() method, see if it's changed. If it has, that
effectively becomes your callback.
Not sure if I follow.
As nothing is fired in the way of an Overlay - how would it know to do
anything?
On Feb 11, 11:02 pm, Hugo Visser wrote:
> As a work around, you don't need to poll...You can register an overlay
> that doesn't draw anything and checks the current zoom level against
> the pre
As a work around, you don't need to poll...You can register an overlay
that doesn't draw anything and checks the current zoom level against
the previous draw zoom level and take it from there...On zooming there
will be a redraw of the map so it should work out fine.
On Feb 11, 8:23 pm, CaptainSpam
I found this with the N1 update as well... it seems to me that the
dispatching of draw()'s to the registered Overlay's is missing while
the user manipulates the zoom level through the pinch-to-zoom method.
On Feb 11, 11:23 am, CaptainSpam wrote:
> Ever since the update that allows multitouch ges
8 matches
Mail list logo