[Mapbender-commits] r7454 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jan 18 09:22:50 EST 2011


Author: verenadiewald
Date: 2011-01-18 06:22:50 -0800 (Tue, 18 Jan 2011)
New Revision: 7454

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

Modified: trunk/mapbender/http/javascripts/geometry.js
===================================================================
--- trunk/mapbender/http/javascripts/geometry.js	2011-01-18 11:05:21 UTC (rev 7453)
+++ trunk/mapbender/http/javascripts/geometry.js	2011-01-18 14:22:50 UTC (rev 7454)
@@ -518,6 +518,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