[fusion-commits] r2548 - sandbox/adsk/2.3r/layers/MapGuide

svn_fusion at osgeo.org svn_fusion at osgeo.org
Mon Jul 16 19:03:03 PDT 2012


Author: liuar
Date: 2012-07-16 19:03:03 -0700 (Mon, 16 Jul 2012)
New Revision: 2548

Modified:
   sandbox/adsk/2.3r/layers/MapGuide/MapGuide.js
Log:
On behalf of Andy Zhang: Hide selection when the layer is turned off.

This is a hotfix for a specific user. It will be reverted after the hotfix is built and verified by user.

Modified: sandbox/adsk/2.3r/layers/MapGuide/MapGuide.js
===================================================================
--- sandbox/adsk/2.3r/layers/MapGuide/MapGuide.js	2012-07-07 12:39:16 UTC (rev 2547)
+++ sandbox/adsk/2.3r/layers/MapGuide/MapGuide.js	2012-07-17 02:03:03 UTC (rev 2548)
@@ -1047,6 +1047,9 @@
         this.aShowLayers.push(layer.uniqueId);
         if (!noDraw) {
             this.drawMap();
+			if (this.queryLayer) {
+				this.drawSelection();
+			}
         }
     },
 
@@ -1055,6 +1058,9 @@
         this.aHideLayers.push(layer.uniqueId);
         if (!noDraw) {
             this.drawMap();
+			if (this.queryLayer) {
+				this.drawSelection();
+			}
         }
     },
 
@@ -1073,6 +1079,9 @@
             this.aShowGroups.push(group.uniqueId);
             if (!noDraw) {
                 this.drawMap();
+				if (this.queryLayer) {
+					this.drawSelection();
+				}
             }
         }
     },
@@ -1091,6 +1100,9 @@
             this.aHideGroups.push(group.uniqueId);
             if (!noDraw) {
                 this.drawMap();
+				if (this.queryLayer) {
+					this.drawSelection();
+				}
             }
         }
     },



More information about the fusion-commits mailing list