Correct closing of polygons
This commit is contained in:
@@ -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