Hi, 
Is there any way to disable the Mouse Wheel Zoom Function 

I want to enable and disable this functionality accoding to some conditions 

I found one soln that is to use a custom function OnMouseWheel event on the
Map by hooking the original function

var origOnMouseWheel = null; 
var mapFrame = viewerFrame.mapFrame; 
origOnMouseWheel = mapFrame.OnMouseWheel; 

I just know the code as given above But dont know how to use it so that on
every OnMouseWheel event My Function should call. not the original one which
is inside viewers file.



OR Is there any other solution

Please anyone help me... 



thanks 

-- 
View this message in context: 
http://n2.nabble.com/OnMouseWheel-Zoom-in-and-Zoom-out-tp4889474p4889474.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to