[Mapbender-commits] r5101 - branches/2.6/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Dec 9 12:08:22 EST 2009


Author: christoph
Date: 2009-12-09 12:08:21 -0500 (Wed, 09 Dec 2009)
New Revision: 5101

Modified:
   branches/2.6/http/javascripts/geometry.js
Log:


Modified: branches/2.6/http/javascripts/geometry.js
===================================================================
--- branches/2.6/http/javascripts/geometry.js	2009-12-09 17:04:00 UTC (rev 5100)
+++ branches/2.6/http/javascripts/geometry.js	2009-12-09 17:08:21 UTC (rev 5101)
@@ -65,7 +65,12 @@
 	this.addMember = function(geomType){
 		this.add(new MultiGeometry(geomType));
 	};
-	
+
+	this.addCopy = function (feature) {
+		this.importGeoJSON(feature.toString());
+		this.get(-1).wfs_conf = feature.wfs_conf;
+	};
+			
 	/**
 	 * @ignore
 	 */



More information about the Mapbender_commits mailing list