Merge pull request #1568 from elemoine/icon

Render other features when dirty
This commit is contained in:
Éric Lemoine
2014-01-21 08:35:02 -08:00

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();