From a65e07a6a57bcc67a6314e2e6ce091388a54c877 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 209e5e9..32226c8 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!)