Pass view rotation to replay

This commit is contained in:
Tom Payne
2014-02-21 11:56:34 +01:00
parent 27c5ab0312
commit fe420ce1eb
3 changed files with 34 additions and 27 deletions

View File

@@ -75,7 +75,7 @@ ol.renderer.canvas.VectorLayer.prototype.composeFrame =
context.globalAlpha = layerState.opacity;
replayGroup.replay(
context, frameState.extent, frameState.pixelRatio, transform,
renderGeometryFunction);
frameState.view2DState.rotation, renderGeometryFunction);
}
this.dispatchPostComposeEvent(context, frameState, transform);