[Mapbender-commits] r4976 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Nov 12 06:03:00 EST 2009


Author: kmq
Date: 2009-11-12 06:02:59 -0500 (Thu, 12 Nov 2009)
New Revision: 4976

Modified:
   trunk/mapbender/http/javascripts/mod_overview.js
Log:
added enable_mouse javascript variable to control wether the overview can be used for zooming etc. 

Modified: trunk/mapbender/http/javascripts/mod_overview.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_overview.js	2009-11-12 07:55:05 UTC (rev 4975)
+++ trunk/mapbender/http/javascripts/mod_overview.js	2009-11-12 11:02:59 UTC (rev 4976)
@@ -96,6 +96,7 @@
 	});
 			
 	$(map.getDomElement()).mousedown(function (e) {
+		if (options.enable_mouse == '0') { return false;}
 		box.start(e);
 		return false;
 	}).mouseup(function (e) {



More information about the Mapbender_commits mailing list