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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Nov 3 06:07:13 EST 2009


Author: verenadiewald
Date: 2009-11-03 06:07:11 -0500 (Tue, 03 Nov 2009)
New Revision: 4907

Modified:
   branches/2.6/http/javascripts/mod_wfs_SpatialRequest.php
Log:
changed function appendGeometryToDigitize

Modified: branches/2.6/http/javascripts/mod_wfs_SpatialRequest.php
===================================================================
--- branches/2.6/http/javascripts/mod_wfs_SpatialRequest.php	2009-11-03 10:12:41 UTC (rev 4906)
+++ branches/2.6/http/javascripts/mod_wfs_SpatialRequest.php	2009-11-03 11:07:11 UTC (rev 4907)
@@ -622,7 +622,7 @@
 }
 
 function Numsort (a, b) {
-  return a - b;
+  return a < b;
 }
 
 function getListTitle (geom) {
@@ -702,7 +702,10 @@
 		return;
 	}
 	var digitizeArray = new GeometryArray();
-	digitizeArray.addCopy(geomArray.get(i));
+	
+	digitizeArray.importGeoJSON(geomArray.get(i).toString());
+	digitizeArray.get(0).wfs_conf = geomArray.get(i).wfs_conf;
+	
 	try {
 		window.frames[mod_digitize_elName].appendGeometryArray(digitizeArray);
 		try {



More information about the Mapbender_commits mailing list