From 130bb06bddedca42d76189a90c829ca76787b449 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 18 Jul 2024 18:21:09 +0200 Subject: [PATCH] Add glutenfree theme --- assets/themes/glutenfree/glutenfree.json | 93 +++++++++++++++++++ assets/themes/glutenfree/glutenfree.svg | 42 +++++++++ .../themes/glutenfree/glutenfree.svg.license | 2 + assets/themes/glutenfree/license_info.json | 12 +++ 4 files changed, 149 insertions(+) create mode 100644 assets/themes/glutenfree/glutenfree.json create mode 100644 assets/themes/glutenfree/glutenfree.svg create mode 100644 assets/themes/glutenfree/glutenfree.svg.license create mode 100644 assets/themes/glutenfree/license_info.json diff --git a/assets/themes/glutenfree/glutenfree.json b/assets/themes/glutenfree/glutenfree.json new file mode 100644 index 000000000..16732f48b --- /dev/null +++ b/assets/themes/glutenfree/glutenfree.json @@ -0,0 +1,93 @@ +{ + "id": "glutenfree", + "title": { + "en": "Glutenfree" + }, + "description": { + "en": "A crowdsourced map with glutenfree items" + }, + "icon": "./assets/themes/glutenfree/glutenfree.svg", + "layers": [ + { + "builtin": "food", + "override": { + "source": { + "osmTags": { + "and+": [ + "diet:gluten_free!=", + "diet:gluten_free!~no" + ] + } + }, + "id": "food_glutenfree", + "minzoom": 4, + "presets": null + } + }, + { + "builtin": "food", + "override": { + "name": null, + "minzoom": 17, + "isCounted": false, + "filter": { + "sameAs": "food_glutenfree" + } + } + }, + { + "builtin": "ice_cream", + "override": { + "source": { + "osmTags": { + "and+": [ + "diet:gluten_free!=", + "diet:gluten_free!~no" + ] + } + }, + "id": "icecream_glutenfree", + "minzoom": 4, + "presets": null + } + }, + { + "builtin": "ice_cream", + "override": { + "name": null, + "minzoom": 17, + "isCounted": false, + "filter": { + "sameAs": "icecream_glutenfree" + } + } + }, + { + "builtin": "shops", + "override": { + "source": { + "osmTags": { + "and+": [ + "diet:gluten_free!=", + "diet:gluten_free!~no" + ] + } + }, + "id": "shops_glutenfree", + "minzoom": 4, + "presets": null + } + }, + { + "builtin": "shops", + "override": { + "name": null, + "minzoom": 17, + "isCounted": false, + "filter": { + "sameAs": "shops_glutenfree" + } + } + } + ] +} diff --git a/assets/themes/glutenfree/glutenfree.svg b/assets/themes/glutenfree/glutenfree.svg new file mode 100644 index 000000000..f4d4c8cc4 --- /dev/null +++ b/assets/themes/glutenfree/glutenfree.svg @@ -0,0 +1,42 @@ + + + + diff --git a/assets/themes/glutenfree/glutenfree.svg.license b/assets/themes/glutenfree/glutenfree.svg.license new file mode 100644 index 000000000..858e45e6b --- /dev/null +++ b/assets/themes/glutenfree/glutenfree.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: vladi1081384728 +SPDX-License-Identifier: CC-BY-SA-4.0 \ No newline at end of file diff --git a/assets/themes/glutenfree/license_info.json b/assets/themes/glutenfree/license_info.json new file mode 100644 index 000000000..000deb31b --- /dev/null +++ b/assets/themes/glutenfree/license_info.json @@ -0,0 +1,12 @@ +[ + { + "path": "glutenfree.svg", + "license": "CC-BY-SA-4.0", + "authors": [ + "vladi1081384728" + ], + "sources": [ + "https://www.vecteezy.com/vector-art/7225296-gluten-free-vector-label" + ] + } +] \ No newline at end of file