From 58e2e576389f4991057aef87ae1ac040d98ac8fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Kr=C3=B6g?= Date: Mon, 12 Jul 2021 01:50:04 +0200 Subject: [PATCH] Fix hit detection of RegularShape with transparent fill --- src/ol/style/RegularShape.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ol/style/RegularShape.js b/src/ol/style/RegularShape.js index 87c069d669..fbac91dc62 100644 --- a/src/ol/style/RegularShape.js +++ b/src/ol/style/RegularShape.js @@ -587,6 +587,8 @@ class RegularShape extends ImageStyle { context.setLineDash(renderOptions.lineDash); context.lineDashOffset = renderOptions.lineDashOffset; } + context.lineJoin = renderOptions.lineJoin; + context.miterLimit = renderOptions.miterLimit; context.stroke(); } }