ThinkGeo.com    |     Documentation    |     Premium Support

Disabling MouseWheel Support

Dear all,


MS2 came with a MouseWheelSupport property that allows to disable it.


I cannot found the MS 3 equivalent, did you changed the name ?


Patrick.



Patrick,


Yes, we changed the name and enhanced it, I am sure it should be much more power and flexibility.
 
Try the following statement

Map.ExtentOverlay.PanMode = MapPanMode.Disabled;

Any more questions just let me know.


 
Thanks.
 
Yale

Yale, 
  
 This disables the panning (as named) but not the zoom while actionning the mouse wheel. 
 API 2.x map.mousewheelsupport=false whas disactivating the zoom and this is highly requested for our usage. 
  
 Please gve me the new name of mousewheelsupport=false 
  
 Patrick.

Patrick,


I made a mistake in understanding what you are trying to do, PLEASE try the following statement; hopefully this is what you want:



winformsMap1.ExtentOverlay.MouseWheelMode = MapMouseWheelMode.Disabled;

Any more questions just let me know.


Thanks.


Yale