Flush the vector context after replaying the batch
This commit is contained in:
@@ -119,11 +119,11 @@ ol.renderer.canvas.Map.prototype.dispatchComposeEvent_ =
|
|||||||
replayGroup, frameState, context, null);
|
replayGroup, frameState, context, null);
|
||||||
map.dispatchEvent(composeEvent);
|
map.dispatchEvent(composeEvent);
|
||||||
replayGroup.finish();
|
replayGroup.finish();
|
||||||
vectorContext.flush();
|
|
||||||
if (!replayGroup.isEmpty()) {
|
if (!replayGroup.isEmpty()) {
|
||||||
replayGroup.replay(context, extent, pixelRatio, this.transform_,
|
replayGroup.replay(context, extent, pixelRatio, this.transform_,
|
||||||
rotation, {});
|
rotation, {});
|
||||||
}
|
}
|
||||||
|
vectorContext.flush();
|
||||||
this.replayGroup = replayGroup;
|
this.replayGroup = replayGroup;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user