Finish the replay group after dispatching the compose event

This commit is contained in:
Andreas Hocevar
2014-06-26 13:16:34 +02:00
parent 0762b8c023
commit ba2d49d715

View File

@@ -118,6 +118,7 @@ ol.renderer.canvas.Map.prototype.dispatchComposeEvent_ =
var composeEvent = new ol.render.Event(type, map, vectorContext,
replayGroup, frameState, context, null);
map.dispatchEvent(composeEvent);
replayGroup.finish();
vectorContext.flush();
if (!replayGroup.isEmpty()) {
replayGroup.replay(context, extent, pixelRatio, this.transform_,