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