diff --git a/src/ol/render/canvas/Executor.js b/src/ol/render/canvas/Executor.js index a79147e5fd..6ed960c37d 100644 --- a/src/ol/render/canvas/Executor.js +++ b/src/ol/render/canvas/Executor.js @@ -280,6 +280,7 @@ class Executor { context.lineTo.apply(context, p1); if (fillInstruction) { this.alignFill_ = /** @type {boolean} */ (fillInstruction[2]); + context.fillStyle = /** @type {import("../../colorlike.js").ColorLike} */ (fillInstruction[1]); this.fill_(context); } if (strokeInstruction) {