From af8e14572f656f358c46e419bf39b6fa991e8cc2 Mon Sep 17 00:00:00 2001 From: karelleketers Date: Mon, 26 Jul 2021 11:07:02 +0200 Subject: [PATCH] added missing icon --- assets/svg/download.svg | 3 --- assets/svg/license_info.json | 8 -------- assets/themes/natuurpunt/birdshelter.svg | 1 + assets/themes/natuurpunt/license_info.json | 6 ++++++ assets/themes/natuurpunt/natuurpunt.json | 14 +++++++++++++- 5 files changed, 20 insertions(+), 12 deletions(-) delete mode 100644 assets/svg/download.svg create mode 100644 assets/themes/natuurpunt/birdshelter.svg diff --git a/assets/svg/download.svg b/assets/svg/download.svg deleted file mode 100644 index bfde059802..0000000000 --- a/assets/svg/download.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/assets/svg/license_info.json b/assets/svg/license_info.json index ee5c511a8a..ccdac7acf7 100644 --- a/assets/svg/license_info.json +++ b/assets/svg/license_info.json @@ -49,14 +49,6 @@ "license": "CC0", "sources": [] }, - { - "authors": [ - "Hannah" - ], - "path": "download.svg", - "license": "CC0", - "sources": [] - }, { "authors": [], "path": "ampersand.svg", diff --git a/assets/themes/natuurpunt/birdshelter.svg b/assets/themes/natuurpunt/birdshelter.svg new file mode 100644 index 0000000000..cde54f7b23 --- /dev/null +++ b/assets/themes/natuurpunt/birdshelter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/themes/natuurpunt/license_info.json b/assets/themes/natuurpunt/license_info.json index c192defd61..97187422c9 100644 --- a/assets/themes/natuurpunt/license_info.json +++ b/assets/themes/natuurpunt/license_info.json @@ -116,5 +116,11 @@ "path": "birdhide.svg", "license": "CC0", "sources": [] + }, + { + "authors": [], + "path": "birdshelter.svg", + "license": "CC0", + "sources": [] } ] \ No newline at end of file diff --git a/assets/themes/natuurpunt/natuurpunt.json b/assets/themes/natuurpunt/natuurpunt.json index 9d43a5d1a3..700ad37cca 100644 --- a/assets/themes/natuurpunt/natuurpunt.json +++ b/assets/themes/natuurpunt/natuurpunt.json @@ -137,7 +137,19 @@ "isOsmCache": true }, "icon": { - "render": "circle:#FE6F32;./assets/themes/natuurpunt/birdhide.svg" + "render": "circle:#FE6F32;./assets/themes/natuurpunt/birdhide.svg", + "mappings": [ + { + "if": { + "or": [ + "building=yes", + "shelter=yes", + "amenity=shelter" + ] + }, + "then": "circle:#FE6F32;./assets/themes/natuurpunt/birdshelter.svg" + } + ] } } },