kopia lustrzana https://github.com/projecthorus/chasemapper
Fixes to text formatting
rodzic
2299c89821
commit
a65e07a6a5
|
@ -259,6 +259,8 @@
|
||||||
map.addControl(new L.Control.Layers(map_layers));
|
map.addControl(new L.Control.Layers(map_layers));
|
||||||
|
|
||||||
// Add map scale.
|
// 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);
|
L.control.scale({imperial: false}).addTo(map);
|
||||||
|
|
||||||
// Add sidebar to map (where all of our controls are!)
|
// Add sidebar to map (where all of our controls are!)
|
||||||
|
|
Ładowanie…
Reference in New Issue