Address review comments
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -111,7 +111,7 @@ ol.style.Style.prototype.getRenderer = function() {
|
||||
|
||||
/**
|
||||
* Sets a custom renderer function for this style. When set, `fill`, `stroke`
|
||||
* and `image` optins of the style will be ignored.
|
||||
* and `image` options of the style will be ignored.
|
||||
* @param {ol.StyleRenderFunction|null} renderer Custom renderer function.
|
||||
* @api
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user