[fusion-commits] r2935 - sandbox/adsk/3.1n/layers/MapGuide

svn_fusion at osgeo.org svn_fusion at osgeo.org
Wed Apr 20 18:17:44 PDT 2016


Author: liuar
Date: 2016-04-20 18:17:44 -0700 (Wed, 20 Apr 2016)
New Revision: 2935

Modified:
   sandbox/adsk/3.1n/layers/MapGuide/MapGuide.js
Log:
Fix the error that selection panel only display the first selected feature class when using Shift.

Modified: sandbox/adsk/3.1n/layers/MapGuide/MapGuide.js
===================================================================
--- sandbox/adsk/3.1n/layers/MapGuide/MapGuide.js	2016-04-18 12:29:50 UTC (rev 2934)
+++ sandbox/adsk/3.1n/layers/MapGuide/MapGuide.js	2016-04-21 01:17:44 UTC (rev 2935)
@@ -2015,6 +2015,7 @@
         for (var i = 0; i < attributes.layers.length; i++) {
             var layerName = attributes.layers[i][0];
             if (typeof(merged[layerName]) == 'undefined') {
+                merged.layers.push(attributes.layers[i]);
                 merged[layerName] = attributes[layerName];
             } else {
                 var newValues = attributes[layerName].values;



More information about the fusion-commits mailing list