[Mapbender-commits] r7455 - branches/2.6/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Jan 18 09:23:31 EST 2011
Author: verenadiewald
Date: 2011-01-18 06:23:31 -0800 (Tue, 18 Jan 2011)
New Revision: 7455
Modified:
branches/2.6/http/javascripts/geometry.js
Log:
close every single polygon of a multipolygon while importing
Modified: branches/2.6/http/javascripts/geometry.js
===================================================================
--- branches/2.6/http/javascripts/geometry.js 2011-01-18 14:22:50 UTC (rev 7454)
+++ branches/2.6/http/javascripts/geometry.js 2011-01-18 14:23:31 UTC (rev 7455)
@@ -451,6 +451,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