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!
If you want to stop any interaction with your map when the tab view is not active, you can set to false the IsHitTestVisible property of your map.
Just my 2cts, there is probably more subtil solutions:o
I think this is related thread: http://forums.arcgis.com/threads/19079-Disabling-Map-Mouse-Events