Render other features when dirty
This commit is contained in:
@@ -222,9 +222,10 @@ ol.renderer.canvas.VectorLayer.prototype.prepareFrame =
|
|||||||
* @param {ol.Feature} feature Feature.
|
* @param {ol.Feature} feature Feature.
|
||||||
*/
|
*/
|
||||||
function(feature) {
|
function(feature) {
|
||||||
this.dirty_ = this.dirty_ ||
|
var dirty =
|
||||||
this.renderFeature(feature, frameStateResolution, pixelRatio,
|
this.renderFeature(feature, frameStateResolution, pixelRatio,
|
||||||
styleFunction, replayGroup);
|
styleFunction, replayGroup);
|
||||||
|
this.dirty_ = this.dirty_ || dirty;
|
||||||
}, this);
|
}, this);
|
||||||
replayGroup.finish();
|
replayGroup.finish();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user