From cf24c77e90bed365719e573064338d1271706e3c Mon Sep 17 00:00:00 2001 From: jacob-alspaw Date: Wed, 23 Apr 2025 08:36:22 -0600 Subject: [PATCH] prevent Canvas2D warning in hit detection context --- src/ol/render/canvas/ExecutorGroup.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ol/render/canvas/ExecutorGroup.js b/src/ol/render/canvas/ExecutorGroup.js index cad4cb3093d..3ec75f7a735 100644 --- a/src/ol/render/canvas/ExecutorGroup.js +++ b/src/ol/render/canvas/ExecutorGroup.js @@ -219,6 +219,8 @@ class ExecutorGroup { this.hitDetectionContext_ = createCanvasContext2D( contextSize, contextSize, + undefined, + {willReadFrequently: false}, ); } const context = this.hitDetectionContext_;