[fusion-commits] r2329 - branches/fusion-2.2/lib sandbox/adsk/2.3r/lib

svn_fusion at osgeo.org svn_fusion at osgeo.org
Fri Jan 28 04:02:25 EST 2011


Author: liuar
Date: 2011-01-28 01:02:25 -0800 (Fri, 28 Jan 2011)
New Revision: 2329

Modified:
   branches/fusion-2.2/lib/Map.js
   sandbox/adsk/2.3r/lib/Map.js
Log:
2.2 Branch issue : 
OpenStreetMap was treated as selectable layer in Fusion, which should be ignored as other commercial layers while doing selection.

Modified: branches/fusion-2.2/lib/Map.js
===================================================================
--- branches/fusion-2.2/lib/Map.js	2011-01-24 10:00:46 UTC (rev 2328)
+++ branches/fusion-2.2/lib/Map.js	2011-01-28 09:02:25 UTC (rev 2329)
@@ -688,7 +688,7 @@
          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" )
+             if(this.aMaps[i].layerType == "Google" || this.aMaps[i].layerType == "Yahoo" || this.aMaps[i].layerType == "VirtualEarth" || this.aMaps[i].layerType == "OpenStreetMap" )
                  continue;
              this.nSelectionMaps++;
              this.aMaps[i].getSelection(

Modified: sandbox/adsk/2.3r/lib/Map.js
===================================================================
--- sandbox/adsk/2.3r/lib/Map.js	2011-01-24 10:00:46 UTC (rev 2328)
+++ sandbox/adsk/2.3r/lib/Map.js	2011-01-28 09:02:25 UTC (rev 2329)
@@ -688,7 +688,7 @@
          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" )
+             if(this.aMaps[i].layerType == "Google" || this.aMaps[i].layerType == "Yahoo" || this.aMaps[i].layerType == "VirtualEarth" || this.aMaps[i].layerType == "OpenStreetMap" )
                  continue;
              this.nSelectionMaps++;
              this.aMaps[i].getSelection(



More information about the fusion-commits mailing list