[fusion-commits] r1239 - branches/fusion-1.0/MapServer

svn_fusion at osgeo.org svn_fusion at osgeo.org
Thu Mar 13 10:38:34 EDT 2008


Author: Assefa
Date: 2008-03-13 10:38:34 -0400 (Thu, 13 Mar 2008)
New Revision: 1239

Modified:
   branches/fusion-1.0/MapServer/MapServer.js
Log:
Add missing functions getGroupInfoUrl  getLayerInfoUrl. They just return null (#23)

Modified: branches/fusion-1.0/MapServer/MapServer.js
===================================================================
--- branches/fusion-1.0/MapServer/MapServer.js	2008-03-12 14:20:06 UTC (rev 1238)
+++ branches/fusion-1.0/MapServer/MapServer.js	2008-03-13 14:38:34 UTC (rev 1239)
@@ -215,8 +215,9 @@
             this.layerRoot.legendLabel = this._sMapTitle;
             
             this.parseMapLayersAndGroups(o);
-      			var minScale = 1.0e10;
-      			var maxScale = 0;
+
+            var minScale = 1.0e10;
+            var maxScale = 0;
             for (var i=0; i<this.aLayers.length; i++) {
               if (this.aLayers[i].visible) {
                   this.aVisibleLayers.push(this.aLayers[i].layerName);
@@ -675,7 +676,16 @@
         var params = {};
         params.parameters = 'session='+this.getSessionID();
         Fusion.ajaxRequest(s, params);
-    }
+  },
+
+    getGroupInfoUrl: function(groupName) {
+      return null;
+   },
+
+    getLayerInfoUrl: function(layerName) {
+      return null;
+  }
+
 };
 
     



More information about the fusion-commits mailing list