fix multipolygon clone

This commit is contained in:
Fran Peručić
2016-02-10 15:06:00 +01:00
parent a924908f12
commit b46cc5a241

View File

@@ -122,7 +122,7 @@ ol.geom.MultiPolygon.prototype.clone = function() {
var len = this.endss_.length;
var newEndss = new Array(len);
for (var i = 0; i < len; ++i) {
newEndss[i] = this.endss_.slice();
newEndss[i] = this.endss_[i].slice();
}
multiPolygon.setFlatCoordinates(