From a5275b386bd983aa75c97f62e7d10700503e2c8e Mon Sep 17 00:00:00 2001 From: LiamSimons Date: Wed, 7 Jul 2021 15:12:10 +0200 Subject: [PATCH 1/2] waste_basket.json saved again --- assets/themes/waste_basket/waste_basket.json | 121 +++++++++++++++++++ 1 file changed, 121 insertions(+) diff --git a/assets/themes/waste_basket/waste_basket.json b/assets/themes/waste_basket/waste_basket.json index e69de29bb..b4e5a8631 100644 --- a/assets/themes/waste_basket/waste_basket.json +++ b/assets/themes/waste_basket/waste_basket.json @@ -0,0 +1,121 @@ +{ + "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/svg/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": { + "and": [ + "amenity=waste_basket" + ] + }, + "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/svg/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 From 08c47551faea3d8f1c224d10500e990d02411042 Mon Sep 17 00:00:00 2001 From: LiamSimons Date: Wed, 7 Jul 2021 15:15:34 +0200 Subject: [PATCH 2/2] waste_basket.json fixed svg directory --- assets/themes/waste_basket/waste_basket.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/themes/waste_basket/waste_basket.json b/assets/themes/waste_basket/waste_basket.json index b4e5a8631..bcf368c06 100644 --- a/assets/themes/waste_basket/waste_basket.json +++ b/assets/themes/waste_basket/waste_basket.json @@ -17,7 +17,7 @@ "nl" ], "maintainer": "", - "icon": "./assets/svg/waste_basket.svg", + "icon": "./assets/themes/waste_basket/waste_basket.svg", "version": "7/7/2021", "startLat": 0, "startLon": 0, @@ -63,7 +63,7 @@ "tagRenderings": [], "hideUnderlayingFeaturesMinPercentage": 0, "icon": { - "render": "./assets/svg/waste_basket.svg", + "render": "./assets/themes/waste_basket/waste_basket.svg", "mappings": [ { "if": {