From 7ed47bec3b016cbd608aaea64687a1b919615670 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 4 Jul 2021 13:19:50 +0200 Subject: map: decrease stop circle size when stops are close together --- templates/route_map.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/route_map.html.ep') diff --git a/templates/route_map.html.ep b/templates/route_map.html.ep index 5bc7fd6..2f35b54 100644 --- a/templates/route_map.html.ep +++ b/templates/route_map.html.ep @@ -44,7 +44,7 @@ for (var station_id in stations) { opacity: 0.7, fillColor: '#f03', fillOpacity: 0.5, - radius: 250 + radius: <%= stash('station_radius') || 250 %> }).bindPopup(stations[station_id][1].join('
')).addTo(map); } -- cgit v1.2.3