[fusion-commits] r1407 - trunk/lib

svn_fusion at osgeo.org svn_fusion at osgeo.org
Wed May 14 15:14:55 EDT 2008


Author: madair
Date: 2008-05-14 15:14:55 -0400 (Wed, 14 May 2008)
New Revision: 1407

Modified:
   trunk/lib/Map.js
Log:
re #63: fix error in name of fractionalZoom boolean variable

Modified: trunk/lib/Map.js
===================================================================
--- trunk/lib/Map.js	2008-05-13 17:50:15 UTC (rev 1406)
+++ trunk/lib/Map.js	2008-05-14 19:14:55 UTC (rev 1407)
@@ -87,13 +87,13 @@
         }
         
         if (widgetTag.extension.FractionalZoom) {
-          this.fractionalZoom = widgetTag.extension.FractionalZoom[0]=='false'?false:true;
+          this.bFractionalZoom = widgetTag.extension.FractionalZoom[0]=='false'?false:true;
         }
         
         var scalesArray = null;
         if (widgetTag.extension.Scales) {
           scalesArray = widgetTag.extension.Scales[0].split(',');
-          this.fractionalZoom = false;
+          this.bFractionalZoom = false;
         }
         
         OpenLayers.DOTS_PER_INCH = this._nDpi;
@@ -102,7 +102,7 @@
                 controls: [], 
                 fallThrough: true,
                 scales: scalesArray,
-                fractionalZoom: this.fractionalZoom
+                fractionalZoom: this.bFractionalZoom
             };
             if (widgetTag.extension.ConstrainMapExtent) {
               this.bRestrictExtent = widgetTag.extension.ConstrainMapExtent[0]=='true'?true:false;



More information about the fusion-commits mailing list