[fusion-commits] r2526 - sandbox/adsk/2.4j/layers/Generic

svn_fusion at osgeo.org svn_fusion at osgeo.org
Mon Jan 30 01:58:48 EST 2012


Author: liuar
Date: 2012-01-29 22:58:48 -0800 (Sun, 29 Jan 2012)
New Revision: 2526

Modified:
   sandbox/adsk/2.4j/layers/Generic/Generic.js
Log:
Fix defect 1447170 - user can't pan the map after switching map in a flexible weblayout with commercial layers

Fix the defect by commenting out the problematic code line. The author of the code left a "TODO" in the code saying it needs better fix. So this defect will be submitted to only Jedi branch and not integrated to trunk.

Modified: sandbox/adsk/2.4j/layers/Generic/Generic.js
===================================================================
--- sandbox/adsk/2.4j/layers/Generic/Generic.js	2012-01-20 06:11:45 UTC (rev 2525)
+++ sandbox/adsk/2.4j/layers/Generic/Generic.js	2012-01-30 06:58:48 UTC (rev 2526)
@@ -198,7 +198,7 @@
         }
         
         //fractionalZoom not permitted with tiled base layers
-        this.mapWidget.oMapOL.minPx = null;  //TODO: better fix here, this prevents a mapdraw before layer is ready
+        //this.mapWidget.oMapOL.minPx = null;  //TODO: better fix here, this prevents a mapdraw before layer is ready
         if (!this.bSingleTile) {
             this.mapWidget.fractionalZoom = false;
             this.mapWidget.oMapOL.setOptions({fractionalZoom: false});



More information about the fusion-commits mailing list