diff --git a/map.css b/map.css index 8784d08..b881d2e 100644 --- a/map.css +++ b/map.css @@ -83,9 +83,7 @@ table { } .legend { - position: absolute; - left: 35px; - top: 1px; + height: 52px; width: 130px; background-color: #fff; diff --git a/map.js b/map.js index 0a374ae..e7d39cc 100644 --- a/map.js +++ b/map.js @@ -61,6 +61,6 @@ $(document).ready(function() { }).addTo(map); var legend = new SimpleControl('#legend-template', 'legend', { - position: 'topleft' + position: 'bottomright' }).addTo(map); });