[fusion-commits] r2925 - sandbox/adsk/3.1n/widgets
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Thu Mar 31 02:01:46 PDT 2016
Author: liuar
Date: 2016-03-31 02:01:46 -0700 (Thu, 31 Mar 2016)
New Revision: 2925
Modified:
sandbox/adsk/3.1n/widgets/Legend.js
Log:
Revert revision #2912 because it is for 2.6. It should not be merged to 3.0+ versions.
Modified: sandbox/adsk/3.1n/widgets/Legend.js
===================================================================
--- sandbox/adsk/3.1n/widgets/Legend.js 2016-03-09 05:30:36 UTC (rev 2924)
+++ sandbox/adsk/3.1n/widgets/Legend.js 2016-03-31 09:01:46 UTC (rev 2925)
@@ -840,15 +840,7 @@
opt.image = layer.oMap.getLegendImageURL(scale, layer, style);
}
}
- // MapGuide DWF and Raster layer
- // MapGuide Raster and DWF layer
- if(layer.layerTypes[0] == 4){
- opt.image = this.imgLayerRasterIcon;
- opt.enabled = true;
- } else if(layer.layerTypes[0] == 5){
- opt.image = this.imgLayerDWFIcon;
- opt.enabled = true;
- }
+
var item;
if (!layer.isBaseMapLayer&&checkbox) {
// opt.contextMenu = this.getContextMenu();
More information about the fusion-commits
mailing list