Fix type check errors in ol/render/webgl/ReplayGroup
This commit is contained in:
@@ -121,9 +121,6 @@ class WebGLReplayGroup extends ReplayGroup {
|
|||||||
}
|
}
|
||||||
let replay = replays[replayType];
|
let replay = replays[replayType];
|
||||||
if (replay === undefined) {
|
if (replay === undefined) {
|
||||||
/**
|
|
||||||
* @type {Function}
|
|
||||||
*/
|
|
||||||
const Constructor = BATCH_CONSTRUCTORS[replayType];
|
const Constructor = BATCH_CONSTRUCTORS[replayType];
|
||||||
replay = new Constructor(this.tolerance_, this.maxExtent_);
|
replay = new Constructor(this.tolerance_, this.maxExtent_);
|
||||||
replays[replayType] = replay;
|
replays[replayType] = replay;
|
||||||
|
|||||||
Reference in New Issue
Block a user