From 77c2bf1c89c6d01a18558048c684b4132cd6d931 Mon Sep 17 00:00:00 2001 From: ISA Date: Wed, 14 Aug 2024 20:55:12 +0200 Subject: [PATCH] =?UTF-8?q?=20polyline.setStyle({=20weight:=2020=20});=20?= =?UTF-8?q?=20=20=20=20});=20f=C3=BCr=20bereiter=20Linie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/mapFeatures.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/mapFeatures.js b/utils/mapFeatures.js index dfc10e5d2..640e261d3 100644 --- a/utils/mapFeatures.js +++ b/utils/mapFeatures.js @@ -299,17 +299,17 @@ export const setupPolylines = (map, linePositions, lineColors, tooltipContents, }).addTo(map); polyline.on("mouseover", (e) => { - polyline.setStyle({ weight: 15 }); + polyline.setStyle({ weight: 20 }); hideContextMenuItemByIndex(map, 0); hideContextMenuItemByIndex(map, 1); }); polyline.on("mousedown", (e) => { - polyline.setStyle({ weight: 15 }); + polyline.setStyle({ weight: 20 }); }); polyline.on("mouseup", (e) => { - polyline.setStyle({ weight: 15 }); + polyline.setStyle({ weight: 20 }); }); polyline.on("mouseout", (e) => {