[fusion-commits] r2664 - sandbox/ol212/widgets

svn_fusion at osgeo.org svn_fusion at osgeo.org
Tue Mar 19 05:06:18 PDT 2013


Author: jng
Date: 2013-03-19 05:06:17 -0700 (Tue, 19 Mar 2013)
New Revision: 2664

Modified:
   sandbox/ol212/widgets/Legend.js
Log:
Port r2651

Modified: sandbox/ol212/widgets/Legend.js
===================================================================
--- sandbox/ol212/widgets/Legend.js	2013-03-15 16:00:34 UTC (rev 2663)
+++ sandbox/ol212/widgets/Legend.js	2013-03-19 12:06:17 UTC (rev 2664)
@@ -633,7 +633,7 @@
                             var iconY = -1 * style.iconY;
                             img.style.backgroundPosition = iconX + 'px ' + iconY + 'px';
                         }else{
-                            url = layer.oMap.getLegendImageURL(scale, layer, style);
+                            url = layer.oMap.getLegendImageURL(fScale, layer, style);
                         }
                         layer.legend.treeItem.setImage(url);
                         layer.legend.treeItem.enable(true);



More information about the fusion-commits mailing list