[fusion-commits] r2884 - trunk/layers/Generic

svn_fusion at osgeo.org svn_fusion at osgeo.org
Sun Jan 11 05:14:06 PST 2015


Author: jng
Date: 2015-01-11 05:14:06 -0800 (Sun, 11 Jan 2015)
New Revision: 2884

Modified:
   trunk/layers/Generic/Generic.js
Log:
#630: Fix broken pan widget after a reloadMap() call on the Map widget with commercial layers. There was a sketchy hack in place that was supposed to prevent a map draw before a layer is ready. When that problem arises, we'll come up with a better fix because the current one is not suitable.

Modified: trunk/layers/Generic/Generic.js
===================================================================
--- trunk/layers/Generic/Generic.js	2015-01-11 11:24:49 UTC (rev 2883)
+++ trunk/layers/Generic/Generic.js	2015-01-11 13:14:06 UTC (rev 2884)
@@ -216,8 +216,6 @@
             }
         }
         
-        
-        this.mapWidget.oMapOL.minPx = null;  //TODO: better fix here, this prevents a mapdraw before layer is ready
         this.oLayerOL.events.register("loadstart", this, this.loadStart);
         this.oLayerOL.events.register("loadend", this, this.loadEnd);
         this.oLayerOL.events.register("loadcancel", this, this.loadEnd);



More information about the fusion-commits mailing list