Correct closing of polygons
This commit is contained in:
1 parent
176a438a05
commit
7a6090df65
1 file changed
+3
@@ -223,6 +223,9 @@ ol.replay.canvas.Batch.prototype.drawPolygonGeometry =
|
||||
type: ol.replay.canvas.InstructionType.MOVE_TO_LINE_TO,
|
||||
argument: this.appendCoordinates_(rings[i], true)
|
||||
});
|
||||
this.instructions_.push({
|
||||
type: ol.replay.canvas.InstructionType.CLOSE_PATH
|
||||
});
|
||||
}
|
||||
this.state_.fillPending = true;
|
||||
this.state_.strokePending = true;
|
||||
|
||||
Reference in new issue
Block a user