Implement ol.replay.canvas.BatchGroup#isEmpty

This commit is contained in:
Tom Payne
2013-11-07 16:41:44 +01:00
parent e03953dc61
commit 8ccd733e08
2 changed files with 4 additions and 2 deletions

View File

@@ -136,6 +136,7 @@ ol.renderer.canvas.VectorLayer.prototype.prepareFrame =
var style = styleFunction(feature);
ol.renderer.vector.renderFeature(batchGroup, feature, style);
}, this);
batchGroup.finish();
this.renderedResolution_ = frameState.view2DState.resolution;
this.renderedRevision_ = vectorSource.getRevision();