add scale control

This commit is contained in:
Norbert Renner 2015-05-30 15:52:58 +02:00
parent a078bc24f0
commit 9c2ef4df60
2 changed files with 4 additions and 2 deletions

View file

@ -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 */

View file

@ -300,6 +300,8 @@
routing: routing,
profile: profile
}).addTo(map);
L.control.scale().addTo(map);
}
initMap();