On Thu, Jan 27, 2011 at 9:30 PM, rajesh.singh <[email protected]> wrote:

> Just an interesting query here, is there a way to capture when a zoom
> animation sequence has ended when calling either:
>
> MapController.zoomIn() or MapController.zoomOut();
>

Not really, the Maps API is really lacking in this regard (well, in a lot of
regards, actually, but we'll focus on this one).

What's been suggested before is for you to track the zoom level yourself,
perhaps on each Draw() call, since you know this is triggered when the map
has been invalidated (which happens on a zoom). Check the zoom level there
and if it's different, trigger your update (or kick off your own
ZoomChangedListener).

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to