diff --git a/src/ol/render/canvas/InstructionsExecutor.js b/src/ol/render/canvas/InstructionsExecutor.js index ede2f436db..94d4a0f6e4 100644 --- a/src/ol/render/canvas/InstructionsExecutor.js +++ b/src/ol/render/canvas/InstructionsExecutor.js @@ -722,7 +722,7 @@ class CanvasInstructionsExecutor { let widthIndex = 0; for (; d < dd; d += 2) { if (geometryWidths) { - if (geometryWidths[widthIndex++] < width) { + if (geometryWidths[widthIndex++] < width / this.pixelRatio) { continue; } }