[fusion-commits] r2002 - trunk/layers/MapServer

svn_fusion at osgeo.org svn_fusion at osgeo.org
Wed Dec 2 11:02:05 EST 2009


Author: pdeschamps
Date: 2009-12-02 11:02:04 -0500 (Wed, 02 Dec 2009)
New Revision: 2002

Modified:
   trunk/layers/MapServer/MapServer.js
Log:
removed console log statements


Modified: trunk/layers/MapServer/MapServer.js
===================================================================
--- trunk/layers/MapServer/MapServer.js	2009-12-02 05:34:16 UTC (rev 2001)
+++ trunk/layers/MapServer/MapServer.js	2009-12-02 16:02:04 UTC (rev 2002)
@@ -3,7 +3,7 @@
  *
  * $Id$
  *
- * Copyright (c) 2007, DM Solutions Group Inc.
+ * Copyright (c) 2007, DM Solutions Group Inc.nLayers
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
  * to deal in the Software without restriction, including without limitation
@@ -460,9 +460,9 @@
         eval('o='+r.responseText);
         if (o.success) {
             var layerCopy = $A(this.aLayers);
-            console.dir(layerCopy);
+            //console.dir(layerCopy);
             var nLayers = layerCopy.length -1;
-            console.log("nLayers:"+nLayers);
+            //console.log("nLayers:"+nLayers);
 
             //Mapserver has list of layers reversed from MapGuide
             //aLayerIndex.reverse();
@@ -472,13 +472,13 @@
 
             for (var i=0; i<aLayerIndex.length; ++i) {
                 this.aLayers.push( layerCopy[aLayerIndex[i] ] );
-                console.log("INDEX:"+(aLayerIndex[i]));
-                console.log(layerCopy[aLayerIndex[i]].layerName);
+                //console.log("INDEX:"+(aLayerIndex[i]));
+                //console.log(layerCopy[aLayerIndex[i]].layerName);
                 if (this.aLayers[i].visible) {
                     this.aVisibleLayers.push(this.aLayers[i].layerName);
                 }
             }
-            console.dir(this.aLayers);
+            //console.dir(this.aLayers);
             //this.layerRoot.clear();
 
             this.drawMap();



More information about the fusion-commits mailing list