[mapguide-users] RE: OnMouseWheel Zoom in and Zoom out

Ivan Miličević Ivan.Milicevic at supranet.hr
Tue Apr 13 03:26:09 EDT 2010


Of course that is possible. In ajamappane.templ (around line 3700), you can edit function HandleMouseWheelEvent(). Create some global bool variable (in javascript of course) for your project and set it to true when you are in editing mode.

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of SriRam007
Sent: Tuesday, April 13, 2010 6:49 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] RE: OnMouseWheel Zoom in and Zoom out


yes I m creating a site where people can edit data

And during editing i want to disable the zoom in and zoom out functionality

There are two button
Edit : To start editing feature -->On this button click i want to disable
the both functionality.
Update : To Update modified feature  -->On this button click i want to
enable again the both functionality.


This is our requirement and i have to do it with out changing inside the
viewers file.

If this is not possible using MGOS (Ajax viewer,C#.net,Javascript) Please
tell me.


thanks


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


More information about the mapguide-users mailing list