diff --git a/src/ol/render/canvas/ExecutorGroup.js b/src/ol/render/canvas/ExecutorGroup.js index 6180223528..ea28923ee6 100644 --- a/src/ol/render/canvas/ExecutorGroup.js +++ b/src/ol/render/canvas/ExecutorGroup.js @@ -82,7 +82,7 @@ class ExecutorGroup extends Disposable { * @private * @type {CanvasRenderingContext2D} */ - this.hitDetectionContext_; + this.hitDetectionContext_ = null; /** * @private