[fusion-commits] r1387 - in trunk: MapGuide MapServer lib

svn_fusion at osgeo.org svn_fusion at osgeo.org
Tue Apr 29 13:31:06 EDT 2008


Author: madair
Date: 2008-04-29 13:31:05 -0400 (Tue, 29 Apr 2008)
New Revision: 1387

Modified:
   trunk/MapGuide/MapGuide.js
   trunk/MapServer/MapServer.js
   trunk/lib/Map.js
Log:
closes #16: move GxSelectionObject into Fusion namespace

Modified: trunk/MapGuide/MapGuide.js
===================================================================
--- trunk/MapGuide/MapGuide.js	2008-04-25 19:15:52 UTC (rev 1386)
+++ trunk/MapGuide/MapGuide.js	2008-04-29 17:31:05 UTC (rev 1387)
@@ -566,7 +566,7 @@
           var o;
           eval("o="+r.responseText);
 
-          var oSelection = new GxSelectionObject(o);
+          var oSelection = new Fusion.SelectionObject(o);
           userFunc(oSelection);
       }
       

Modified: trunk/MapServer/MapServer.js
===================================================================
--- trunk/MapServer/MapServer.js	2008-04-25 19:15:52 UTC (rev 1386)
+++ trunk/MapServer/MapServer.js	2008-04-29 17:31:05 UTC (rev 1387)
@@ -537,7 +537,7 @@
           var o;
           eval("o="+r.responseText);
 
-          var oSelection = new GxSelectionObject(o);
+          var oSelection = new Fusion.SelectionObject(o);
           userFunc(oSelection);
       }
     },

Modified: trunk/lib/Map.js
===================================================================
--- trunk/lib/Map.js	2008-04-25 19:15:52 UTC (rev 1386)
+++ trunk/lib/Map.js	2008-04-29 17:31:05 UTC (rev 1387)
@@ -940,7 +940,7 @@
  * Utility class to hold slection information
  *
  */
-var GxSelectionObject = OpenLayers.Class({
+Fusion.SelectionObject = OpenLayers.Class({
     aLayers : null,
 
     initialize: function(o) 
@@ -959,7 +959,7 @@
             this.nLayers =  o.layers.length;
             for (var i=0; i<o.layers.length; i++)
             {
-                this.aLayers[i] = new GxSelectionObjectLayer(o, o.layers[i]);
+                this.aLayers[i] = new Fusion.SelectionObject.Layer(o, o.layers[i]);
             }
         }
     },
@@ -1013,7 +1013,7 @@
 });
 
 
-var GxSelectionObjectLayer = OpenLayers.Class({
+Fusion.SelectionObject.Layer = OpenLayers.Class({
     sName: null,
     nElements: null,
     aElements: null,



More information about the fusion-commits mailing list