From b50b08f766cfe2892dcab08aae1ed6885969df9e Mon Sep 17 00:00:00 2001 From: AurisAudentis Date: Sat, 25 Dec 2021 12:42:03 +0100 Subject: [PATCH] cleaning up the legend formatting --- src/css/map.css | 1 - src/index.html | 4 ++-- src/js/map.js | 6 +----- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/css/map.css b/src/css/map.css index fa8611f..99f15bb 100644 --- a/src/css/map.css +++ b/src/css/map.css @@ -121,7 +121,6 @@ a.img-and-text-link:hover span { } .holiday-legend { - height: 72px; width: 145px; background-color: #fff; box-shadow: 0 1px 5px rgba(0,0,0,0.65); diff --git a/src/index.html b/src/index.html index b183544..a54b075 100644 --- a/src/index.html +++ b/src/index.html @@ -116,11 +116,11 @@
- Opent binnenkort + Opent binnenkort
- Tijdens kerstvakantie + Tijdens kerstvakantie
diff --git a/src/js/map.js b/src/js/map.js index 4dd3a76..92ac75a 100644 --- a/src/js/map.js +++ b/src/js/map.js @@ -72,7 +72,7 @@ $(document).ready(function() { // account name = zeuswpi, details are in password manager // token has a restriction to only work with our domains and localhost accessToken: 'pk.eyJ1IjoiemV1c3dwaSIsImEiOiJja2QzMDZ1NmcwMjBtMnlxbXV2bXVpaXhuIn0.-ViXZUT9SqRI3IvB8209LQ', - attribution: 'Achtergrondkaart © OpenStreetMap-bijdragers, Imagery © Mapbox. | Made with ❤ by Zeus WPI | Privacybeleid', + attribution: 'Achtergrondkaart © OpenStreetMap-bijdragers , Imagery © Mapbox. | Made with ❤ by Zeus WPI | Privacybeleid', maxZoom: 18 }).addTo(map); @@ -182,9 +182,5 @@ $(document).ready(function() { position: "bottomright" }).addTo(map); - var notice = new SimpleControl("#notice-template", "notice", { - position: "bottomleft" - }).addTo(map); - L.control.zoom().addTo(map); });