[fusion-commits] r2651 - trunk/widgets
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Thu Mar 7 01:42:22 PST 2013
Author: liuar
Date: 2013-03-07 01:42:22 -0800 (Thu, 07 Mar 2013)
New Revision: 2651
Modified:
trunk/widgets/Legend.js
Log:
Submit on behalf of Andy Zhang. Fix a parameter typo in Legend.js.
Modified: trunk/widgets/Legend.js
===================================================================
--- trunk/widgets/Legend.js 2013-03-07 09:25:39 UTC (rev 2650)
+++ trunk/widgets/Legend.js 2013-03-07 09:42:22 UTC (rev 2651)
@@ -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