Render other features when dirty

This commit is contained in:
Éric Lemoine
2014-01-21 16:44:46 +01:00
parent e01c0148e4
commit 8284043bf9

View File

@@ -222,9 +222,10 @@ ol.renderer.canvas.VectorLayer.prototype.prepareFrame =
* @param {ol.Feature} feature Feature.
*/
function(feature) {
this.dirty_ = this.dirty_ ||
var dirty =
this.renderFeature(feature, frameStateResolution, pixelRatio,
styleFunction, replayGroup);
this.dirty_ = this.dirty_ || dirty;
}, this);
replayGroup.finish();