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;
|
||||
}
|
||||
|
||||
/* margin left sidebar + Bing logo (Bing layer) */
|
||||
/* margin left sidebar + Scale */
|
||||
.leaflet-control-attribution {
|
||||
margin-left: 480px !important;
|
||||
margin-left: 515px !important;
|
||||
}
|
||||
|
||||
/* Profile Control */
|
||||
|
|
|
|||
|
|
@ -300,6 +300,8 @@
|
|||
routing: routing,
|
||||
profile: profile
|
||||
}).addTo(map);
|
||||
|
||||
L.control.scale().addTo(map);
|
||||
}
|
||||
|
||||
initMap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue