Add support for polygons to canvas replay

This commit is contained in:
Tom Payne
2013-11-07 19:46:44 +01:00
parent b2d1b32674
commit a823e1f776
3 changed files with 66 additions and 17 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ ol.renderer.vector.renderLineStringGeometry_ =
window.console.log({batchingLineString: lineStringGeometry}); // FIXME
var batch = batchGroup.getBatch(
style.zIndex, ol.replay.BatchType.STROKE_LINE);
batch.setStrokeStyle(style.stroke);
batch.setFillStrokeStyle(null, style.stroke);
batch.drawLineStringGeometry(lineStringGeometry);
};