[mapguide-users] OnMouseWheel Zoom in and Zoom out
martin.morrison at edsi.com
Mon Apr 12 13:22:25 EDT 2010
I'm just curious. You ask for another solution, but what is you are really trying to do? Are you creating a site where people can edit data? Or will it be just for viewing only? What function are you trying to create instead of the normal wheel function? What is this extra functionality worth to you?
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of SriRam007
Sent: Monday, April 12, 2010 7:21 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] OnMouseWheel Zoom in and Zoom out
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...
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
mapguide-users at lists.osgeo.org
More information about the mapguide-users