From f773078689bfc3a29070a25084d1e60dfa69340d Mon Sep 17 00:00:00 2001 From: Gilles Jacobs Date: Fri, 12 Dec 2014 09:50:35 +0100 Subject: [PATCH] bottomright legend --- map.css | 4 +--- map.js | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) 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); });