bottomright legend
This commit is contained in:
parent
e617078a8a
commit
f773078689
2 changed files with 2 additions and 4 deletions
4
map.css
4
map.css
|
@ -83,9 +83,7 @@ table {
|
|||
}
|
||||
|
||||
.legend {
|
||||
position: absolute;
|
||||
left: 35px;
|
||||
top: 1px;
|
||||
|
||||
height: 52px;
|
||||
width: 130px;
|
||||
background-color: #fff;
|
||||
|
|
2
map.js
2
map.js
|
@ -61,6 +61,6 @@ $(document).ready(function() {
|
|||
}).addTo(map);
|
||||
|
||||
var legend = new SimpleControl('#legend-template', 'legend', {
|
||||
position: 'topleft'
|
||||
position: 'bottomright'
|
||||
}).addTo(map);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue