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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Nov 12 06:04:51 EST 2009


Author: kmq
Date: 2009-11-12 06:04:51 -0500 (Thu, 12 Nov 2009)
New Revision: 4977

Modified:
   trunk/mapbender/http/javascripts/mod_dynamicOverview.php
Log:
added defaults for zoomfactor and minScale

Modified: trunk/mapbender/http/javascripts/mod_dynamicOverview.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_dynamicOverview.php	2009-11-12 11:02:59 UTC (rev 4976)
+++ trunk/mapbender/http/javascripts/mod_dynamicOverview.php	2009-11-12 11:04:51 UTC (rev 4977)
@@ -49,6 +49,20 @@
 	mod_dynamicOverview_useMaxExtent = false;
 }
 
+try { 
+	if(mod_dynamicOverview_zoomFactor){}
+}
+catch(e){
+	mod_dynamicOverview_zoomFactor = 10;
+}
+
+try { 
+	if(mod_dynamicOverview_minScale){}
+}
+catch(e){
+	mod_dynamicOverview_minScale = 10;
+}
+
 var mod_dynamicOverviewCount = 0;
 var mod_dynamicOverviewSwitch = false;
 



More information about the Mapbender_commits mailing list