From 1dbd677f96ad742bba1d45a5806e3af08cddcca2 Mon Sep 17 00:00:00 2001 From: l5y <220195275+l5yth@users.noreply.github.com> Date: Sat, 13 Sep 2025 15:27:23 +0200 Subject: [PATCH] Adjust map marker sizing and tile opacity (#18) --- web/public/nodes.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/public/nodes.html b/web/public/nodes.html index 4b85ba6..fb7057b 100644 --- a/web/public/nodes.html +++ b/web/public/nodes.html @@ -40,6 +40,7 @@ input[type="text"] { padding: 6px 10px; border: 1px solid #ccc; border-radius: 6px; } .legend { background: #fff; padding: 6px 8px; border: 1px solid #ccc; border-radius: 4px; font-size: 12px; line-height: 18px; } .legend span { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: middle; } + #map .leaflet-tile { filter: opacity(70%); } @@ -187,11 +188,12 @@ const color = roleColors[n.role] || '#3388ff'; const marker = L.circleMarker([lat, lon], { - radius: 6, + radius: 12, color: '#000', weight: 1, fillColor: color, - fillOpacity: 1 + fillOpacity: 0.7, + opacity: 0.7 }); const lines = [ `${n.short_name || ''} ${n.node_id || ''}`,