You should be able to listen for MapZoomEvent.ZOOM_CHANGED.

On 14 June, 03:57, Mathew Thomas <[email protected]> wrote:
> somewhat related -- is there an event associated with changing the zoom for
> the map?
>
> Take the HSlider custom zoom demo that Pamela put together -- the hslider
> doesn't update itself if you happen to zoom without using the hslider itself
> -- eg the double click -- or the last point button -- or another zoom
> function -- or the scroll wheel
>
> matching the zoom slider to the current map's zoom level is easy to
> accomplish for a custom function -- as well as the double click zoom -- but
> what about when we click the last point button -- or the scroll wheel? are
> there events that pay attention to these events?
>
> I'd prefer to just know when the zoom level's changed --
>
> mathew
>
> On Sat, Jun 13, 2009 at 4:22 AM, PetrKaleta <[email protected]> wrote:
>
> > I'v got same problem. It wokrs only in IE.
>
> > On Jun 12, 8:35 pm, CJ <[email protected]> wrote:
> > > Just wondering if there is a trick to getting the scroll wheel zoom
> > > working?  Everything has been working out great with regards to the
> > > API for me, but the scroll wheel zoom has never worked.  Inside my
> > > MapReady function, I have the following:
>
> > > map.addControl( new PositionControl() );
> > > map.addControl( new MapTypeControl() );
> > > map.addControl( new ZoomControl() );
> > > map.enableScrollWheelZoom();
> > > map.enableContinuousZoom();
> > > map.enableControlByKeyboard();
> > > map.setDoubleClickMode(2);
>
> > > Anybody have any ideas why the scroll wheel won't zoom?  I've verified
> > > it doesn't work in the IDE, Safari and Firefox.
>
> > > Thanks,
>
> > > CJ
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" 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/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to