From c8b70dec9d8f2634590650450d04cb146538a682 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Wed, 7 Jul 2021 22:29:07 +0200 Subject: [PATCH] Fix theme --- assets/themes/waste_basket/license_info.json | 18 +- assets/themes/waste_basket/waste_basket.json | 222 ++++++++++--------- 2 files changed, 121 insertions(+), 119 deletions(-) diff --git a/assets/themes/waste_basket/license_info.json b/assets/themes/waste_basket/license_info.json index 21871efc0..502b9b8a2 100644 --- a/assets/themes/waste_basket/license_info.json +++ b/assets/themes/waste_basket/license_info.json @@ -1,10 +1,10 @@ [ - { - "authors": [], - "path": "waste_basket.svg", - "license": "CC0", - "sources": [ - "https://wiki.openstreetmap.org/wiki/File:Waste-basket-12.svg" - ] - } - ] \ No newline at end of file + { + "authors": [], + "path": "waste_basket.svg", + "license": "CC0", + "sources": [ + "https://wiki.openstreetmap.org/wiki/File:Waste-basket-12.svg" + ] + } +] \ No newline at end of file diff --git a/assets/themes/waste_basket/waste_basket.json b/assets/themes/waste_basket/waste_basket.json index bcf368c06..a11a95568 100644 --- a/assets/themes/waste_basket/waste_basket.json +++ b/assets/themes/waste_basket/waste_basket.json @@ -1,121 +1,123 @@ { - "id": "waste_basket", - "title": { - "en": "Waste Basket", - "nl": "Vuilnisbak" - }, - "shortDescription": { - "en": "Throw away waste", - "nl": "Afval weggooien" - }, - "description": { - "en": "This is a public waste basket, thrash can, where you can throw away your thrash.", - "nl": "Dit is een publieke vuilnisbak waar je je afval kan weggooien." - }, - "language": [ - "en", - "nl" - ], - "maintainer": "", - "icon": "./assets/themes/waste_basket/waste_basket.svg", - "version": "7/7/2021", - "startLat": 0, - "startLon": 0, - "startZoom": 1, - "widenFactor": 0.05, - "socialImage": "", - "layers": [ - { - "id": "waste_basket", - "name": { - "en": "Waste Basket", - "nl": "Vuilnisbak" - }, - "minzoom": 12, - "overpassTags": { + "id": "waste_basket", + "title": { + "en": "Waste Basket", + "nl": "Vuilnisbak" + }, + "shortDescription": { + "en": "Throw away waste", + "nl": "Afval weggooien" + }, + "description": { + "en": "This is a public waste basket, thrash can, where you can throw away your thrash.", + "nl": "Dit is een publieke vuilnisbak waar je je afval kan weggooien." + }, + "language": [ + "en", + "nl" + ], + "maintainer": "", + "icon": "./assets/themes/waste_basket/waste_basket.svg", + "version": "7/7/2021", + "startLat": 0, + "startLon": 0, + "startZoom": 1, + "widenFactor": 0.05, + "socialImage": "", + "layers": [ + { + "id": "waste_basket", + "name": { + "en": "Waste Basket", + "nl": "Vuilnisbak" + }, + "minzoom": 12, + "source": { + "osmTags": { "and": [ "amenity=waste_basket" ] + } + }, + "title": { + "render": { + "en": "Waste Basket", + "nl": "Vuilnisbak" }, - "title": { - "render": { - "en": "Waste Basket", - "nl": "Vuilnisbak" - }, - "mappings": [ - { - "if": { - "and": [ - "amenity=waste_basket" - ] - }, - "then": { - "en": "Waste Basket", - "nl": "Vuilnisbak" - } - } - ] - }, - "description": { - "en": "This is a public waste basket, thrash can, where you can throw away your thrash.", - "nl": "Dit is een publieke vuilnisbak waar je je afval kan weggooien." - }, - "tagRenderings": [], - "hideUnderlayingFeaturesMinPercentage": 0, - "icon": { - "render": "./assets/themes/waste_basket/waste_basket.svg", - "mappings": [ - { - "if": { - "and": [ - "amenity=waste_basket" - ] - }, - "then": { - "en": "Waste Basket", - "nl": "Vuilnisbak" - } - } - ] - }, - "width": { - "render": "8" - }, - "iconSize": { - "render": "40,40,center", - "mappings": [ - { - "if": { - "and": [ - "amenity=waste_basket" - ] - }, - "then": { - "en": "Waste Basket", - "nl": "Vuilnisbak" - } - } - ] - }, - "color": { - "render": "#00f" - }, - "presets": [ + "mappings": [ { - "tags": [ - "amenity=waste_basket" - ], - "title": { + "if": { + "and": [ + "amenity=waste_basket" + ] + }, + "then": { "en": "Waste Basket", "nl": "Vuilnisbak" - }, - "description": { - "en": "Throw away waste", - "nl": "Afval weggooien" } } ] - } - ], - "roamingRenderings": [] - } \ No newline at end of file + }, + "description": { + "en": "This is a public waste basket, thrash can, where you can throw away your thrash.", + "nl": "Dit is een publieke vuilnisbak waar je je afval kan weggooien." + }, + "tagRenderings": [], + "hideUnderlayingFeaturesMinPercentage": 0, + "icon": { + "render": "./assets/themes/waste_basket/waste_basket.svg", + "mappings": [ + { + "if": { + "and": [ + "amenity=waste_basket" + ] + }, + "then": { + "en": "Waste Basket", + "nl": "Vuilnisbak" + } + } + ] + }, + "width": { + "render": "8" + }, + "iconSize": { + "render": "40,40,center", + "mappings": [ + { + "if": { + "and": [ + "amenity=waste_basket" + ] + }, + "then": { + "en": "Waste Basket", + "nl": "Vuilnisbak" + } + } + ] + }, + "color": { + "render": "#00f" + }, + "presets": [ + { + "tags": [ + "amenity=waste_basket" + ], + "title": { + "en": "Waste Basket", + "nl": "Vuilnisbak" + }, + "description": { + "en": "Throw away waste", + "nl": "Afval weggooien" + } + } + ] + } + ], + "roamingRenderings": [] +} \ No newline at end of file