[fusion-commits] r2236 - sandbox/jxlib-3.0/lib

svn_fusion at osgeo.org svn_fusion at osgeo.org
Mon Sep 27 15:57:42 EDT 2010


Author: pagameba
Date: 2010-09-27 19:57:42 +0000 (Mon, 27 Sep 2010)
New Revision: 2236

Modified:
   sandbox/jxlib-3.0/lib/Map.js
Log:
reversed sense of the query exclusion test.

Modified: sandbox/jxlib-3.0/lib/Map.js
===================================================================
--- sandbox/jxlib-3.0/lib/Map.js	2010-09-27 19:34:46 UTC (rev 2235)
+++ sandbox/jxlib-3.0/lib/Map.js	2010-09-27 19:57:42 UTC (rev 2236)
@@ -688,7 +688,7 @@
          this.oSelection = {};
          this.nSelectionMaps = 0;
          for (var i=0; i<this.aMaps.length; i++ ) {
-           if (this.aMaps[i].supports.query) 
+           if (!this.aMaps[i].supports.query) 
          // if(this.aMaps[i].layerType == "Google" || this.aMaps[i].layerType == "Yahoo" ||this.aMaps[i].layerType == "VirtualEarth" )
 			     continue;
              this.nSelectionMaps++;



More information about the fusion-commits mailing list