[fusion-commits] r2256 - trunk/layers

svn_fusion at osgeo.org svn_fusion at osgeo.org
Mon Oct 25 14:36:48 EDT 2010


Author: pagameba
Date: 2010-10-25 11:36:47 -0700 (Mon, 25 Oct 2010)
New Revision: 2256

Modified:
   trunk/layers/Layers.js
Log:
built a real WFS protocol and return it.

Modified: trunk/layers/Layers.js
===================================================================
--- trunk/layers/Layers.js	2010-10-20 20:25:57 UTC (rev 2255)
+++ trunk/layers/Layers.js	2010-10-25 18:36:47 UTC (rev 2256)
@@ -628,10 +628,15 @@
                           }
                         }
                       }
+                      that.wfsConnection = new OpenLayers.Protocol.WFS({
+                        version: version,
+                        featureType: typeName,
+                        geometryName: that.metadata.wfs_geometry
+                      });
                     }
                   }
                   if (callback) {
-                    callback.apply(null, [conn]);
+                    callback.apply(null, [that.wfsConnection]);
                   }
                 }
               });



More information about the fusion-commits mailing list