diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-07-04 13:19:50 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-07-04 13:19:50 +0200 |
commit | 7ed47bec3b016cbd608aaea64687a1b919615670 (patch) | |
tree | 5744040528b3f4b0bf4218f53715a1b50d91a7b3 /templates | |
parent | 9d0af20c38ecf47304b494e12fb2d7c96aa0cce9 (diff) |
map: decrease stop circle size when stops are close together4.2.1
Diffstat (limited to 'templates')
-rw-r--r-- | templates/route_map.html.ep | 2 |
1 files changed, 1 insertions, 1 deletions
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('<br/>')).addTo(map); } |