bottomright legend

This commit is contained in:
Gilles Jacobs 2014-12-12 09:50:35 +01:00
parent e617078a8a
commit f773078689
2 changed files with 2 additions and 4 deletions

View file

@ -83,9 +83,7 @@ table {
} }
.legend { .legend {
position: absolute;
left: 35px;
top: 1px;
height: 52px; height: 52px;
width: 130px; width: 130px;
background-color: #fff; background-color: #fff;

2
map.js
View file

@ -61,6 +61,6 @@ $(document).ready(function() {
}).addTo(map); }).addTo(map);
var legend = new SimpleControl('#legend-template', 'legend', { var legend = new SimpleControl('#legend-template', 'legend', {
position: 'topleft' position: 'bottomright'
}).addTo(map); }).addTo(map);
}); });