Fix metric imperial scale bar

pull/22/head
David Rollinson 2020-12-29 16:26:22 +08:00
rodzic 1f724a99be
commit ee924d99bc
1 zmienionych plików z 0 dodań i 1 usunięć

Wyświetl plik

@ -261,7 +261,6 @@
// 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!)
var sidebar = L.control.sidebar('sidebar').addTo(map);