add scale control
This commit is contained in:
parent
a078bc24f0
commit
9c2ef4df60
2 changed files with 4 additions and 2 deletions
|
|
@ -108,9 +108,9 @@ td {
|
||||||
width: 386px;
|
width: 386px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* margin left sidebar + Bing logo (Bing layer) */
|
/* margin left sidebar + Scale */
|
||||||
.leaflet-control-attribution {
|
.leaflet-control-attribution {
|
||||||
margin-left: 480px !important;
|
margin-left: 515px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Profile Control */
|
/* Profile Control */
|
||||||
|
|
|
||||||
|
|
@ -300,6 +300,8 @@
|
||||||
routing: routing,
|
routing: routing,
|
||||||
profile: profile
|
profile: profile
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
||||||
|
L.control.scale().addTo(map);
|
||||||
}
|
}
|
||||||
|
|
||||||
initMap();
|
initMap();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue