bbthao

how to disable/enable the zoom in/out function when scrolling mouse wheel

Discussion created by bbthao on Apr 11, 2011
Latest reply on Apr 26, 2011 by bbthao
When I scroll mouse wheel, map is zoomed in or out.  This is a nice feature.
In our application, there are cases that I want this behavior to be active or inactive.
For instance, I add a map into a "tab view".  If the tab view is NOT active, and I scroll the mouse wheel, I do not want the map to be zoomed in or out.
If the tab view is active, I want the map to be zoomed in/out when I scroll the mouse wheel.

How can I do this?

Thanks!

Outcomes