Address review comments

This commit is contained in:
Andreas Hocevar
2017-07-29 17:56:48 +02:00
parent c6b942f185
commit 68f6b61217
7 changed files with 48 additions and 111 deletions

View File

@@ -324,7 +324,7 @@ ol.render.canvas.Replay.prototype.replay_ = function(
/**
* @type {olx.render.State}
*/
var replayState = {
var state = {
context: context,
pixelRatio: pixelRatio,
resolution: this.resolution,
@@ -397,7 +397,7 @@ ol.render.canvas.Replay.prototype.replay_ = function(
} else {
coords = pixelCoordinates.slice(d, dd);
}
renderer(coords, geometry, feature, replayState);
renderer(coords, geometry, feature, state);
++i;
break;
case ol.render.canvas.Instruction.DRAW_IMAGE: