From 0f5f878485040ad7ba8107066c841c8c20c36162 Mon Sep 17 00:00:00 2001 From: steven Date: Wed, 21 May 2025 23:46:47 -0400 Subject: [PATCH] add a link to open stops in new tab --- templates/map.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/map.html b/templates/map.html index 8de61ac..9534cd3 100644 --- a/templates/map.html +++ b/templates/map.html @@ -17,7 +17,7 @@ let map=L.map("map",{center:[38.22,-85.7],zoom:12,layers:[L.tileLayer("https://tile.thunderforest.com/transport/{z}/{x}/{y}.png?apikey=cf957cde4a7b40bbb49479c8fa4d60f7")]}); let stops={{stops|safe}}; for (stop in stops){ - L.circle(stops[stop][0]).bindPopup(`${stops[stop][1]} (#${stop})`).addTo(map) + L.circle(stops[stop][0]).bindPopup(`${stops[stop][1]} (#${stop})`).addTo(map) } let busIcon=L.icon({iconUrl:'static/bus.ico',iconSize:[32,32]}) let layerControl=L.control.layers().addTo(map);