From 1f724a99be5db83ee5a55fe4eae1ff47e6679681 Mon Sep 17 00:00:00 2001 From: David Rollinson Date: Tue, 29 Dec 2020 16:18:18 +0800 Subject: [PATCH] Fixes to text formatting --- templates/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/index.html b/templates/index.html index 3213312..f69d6f3 100644 --- a/templates/index.html +++ b/templates/index.html @@ -259,6 +259,8 @@ map.addControl(new L.Control.Layers(map_layers)); // Add map scale. + if (chase_config['unitselection'] == "imperial1") { L.control.scale({imperial: true, metric: false}).addTo(map) ;} + if (chase_config['unitselection'] == "metric") { L.control.scale({imperial: false, metric: true}).addTo(map) ;} L.control.scale({imperial: false}).addTo(map); // Add sidebar to map (where all of our controls are!)