better circle

This commit is contained in:
cjdenio committed 2025-08-04 12:39:54 -06:00
1 parent 6e73ee17dc
commit 3ae80dd1f7
1 file changed
+2 -2
+2 -2
View File
@@ -50,11 +50,11 @@
.decode(new Uint8Array(bin)); .decode(new Uint8Array(bin));
vehicles.forEach((vehicle) => { vehicles.forEach((vehicle) => {
L.circle([vehicle.lat, vehicle.lon], { L.circleMarker([vehicle.lat, vehicle.lon], {
fillColor: COLORS[vehicle.line], fillColor: COLORS[vehicle.line],
color: COLORS[vehicle.line], color: COLORS[vehicle.line],
fillOpacity: 0.5, fillOpacity: 0.5,
radius: 200, radius: 8,
}) })
.addTo(map) .addTo(map)
.bindPopup(vehicle.nearestStation.name); .bindPopup(vehicle.nearestStation.name);