From 3ae80dd1f70ba118f35bd2f5cbd09984e0e91722 Mon Sep 17 00:00:00 2001 From: Caleb Denio Date: Mon, 4 Aug 2025 12:39:54 -0600 Subject: [PATCH] better circle --- static/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/index.html b/static/index.html index 08df094..b72227d 100644 --- a/static/index.html +++ b/static/index.html @@ -50,11 +50,11 @@ .decode(new Uint8Array(bin)); vehicles.forEach((vehicle) => { - L.circle([vehicle.lat, vehicle.lon], { + L.circleMarker([vehicle.lat, vehicle.lon], { fillColor: COLORS[vehicle.line], color: COLORS[vehicle.line], fillOpacity: 0.5, - radius: 200, + radius: 8, }) .addTo(map) .bindPopup(vehicle.nearestStation.name);