From 0b8017cbc803adcf89819b26900b2ec69499b904 Mon Sep 17 00:00:00 2001 From: steven Date: Sat, 10 May 2025 14:38:46 -0400 Subject: [PATCH] always collapse bus list --- templates/map.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/map.html b/templates/map.html index 009a076..cd48f02 100644 --- a/templates/map.html +++ b/templates/map.html @@ -50,7 +50,7 @@ function updateMap(){ overlayLayers[`${r.padStart(2,0)} | ${String(routes[r][0]).padStart(2,0)} vehicle(s) | ${routes[r][1]} rider(s)`]=busLayers[r] } layerControl.remove(); - layerControl=L.control.layers(null,overlayLayers,{collapsed:window.innerWidth