[fusion-commits] r1994 - trunk/lib

svn_fusion at osgeo.org svn_fusion at osgeo.org
Thu Nov 26 20:51:26 EST 2009


Author: liuar
Date: 2009-11-26 20:51:25 -0500 (Thu, 26 Nov 2009)
New Revision: 1994

Modified:
   trunk/lib/Map.js
Log:
Fixed ticket http://trac.osgeo.org/fusion/ticket/336
Selection Panel: Nothing shown in the panel after select object in map with consumer maps.

Modified: trunk/lib/Map.js
===================================================================
--- trunk/lib/Map.js	2009-11-26 18:04:11 UTC (rev 1993)
+++ trunk/lib/Map.js	2009-11-27 01:51:25 UTC (rev 1994)
@@ -482,6 +482,8 @@
          this.oSelection = {};
          this.nSelectionMaps = 0;
          for (var i=0; i<this.aMaps.length; i++ ) {
+		     if(this.aMaps[i].layerType == "Google" || this.aMaps[i].layerType == "Yahoo" ||this.aMaps[i].layerType == "VirtualEarth" )
+			     continue;
              this.nSelectionMaps++;
              this.aMaps[i].getSelection(
                     OpenLayers.Function.bind(this.accumulateSelection, this, this.aMaps[i]),



More information about the fusion-commits mailing list