[Mapbender-commits] r7456 - branches/2.7/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jan 18 09:23:59 EST 2011


Author: verenadiewald
Date: 2011-01-18 06:23:59 -0800 (Tue, 18 Jan 2011)
New Revision: 7456

Modified:
   branches/2.7/http/javascripts/geometry.js
Log:
close every single polygon of a multipolygon while importing

Modified: branches/2.7/http/javascripts/geometry.js
===================================================================
--- branches/2.7/http/javascripts/geometry.js	2011-01-18 14:23:31 UTC (rev 7455)
+++ branches/2.7/http/javascripts/geometry.js	2011-01-18 14:23:59 UTC (rev 7456)
@@ -515,6 +515,7 @@
 					var currentPoint = currentRing[p];
 					this.getGeometry(-1, -1).addPointByCoordinates(currentPoint[0], currentPoint[1], currentPoint[2]);
 				}
+				this.getGeometry(-1, -1).close();
 			}
 			else {
 				var ring = new Geometry(geomType.polygon);



More information about the Mapbender_commits mailing list