From 3929a5d8ae1eeb758a3c65511f0382bf5fee8507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Wed, 6 Mar 2019 14:04:47 +0100 Subject: [PATCH] shop: add more types --- shop.json | 177 ++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 166 insertions(+), 11 deletions(-) diff --git a/shop.json b/shop.json index d96e813a..c19ffc66 100644 --- a/shop.json +++ b/shop.json @@ -26,19 +26,25 @@ "feature": { "pre": "{% set shop0 = tags.shop|split(';')[0] %}{% set current = const.default %}{% for v in const.shops %}{% if shop0 in v.types %}{% set current = v %}{% endif %}{% endfor %}", "description": "{{ tagTransList('shop', tags.shop) }}", - "markerSign": "{% set c = current.sign %}{% if c|slice(0, 3) == 'fa-' %}{% else %}{{ c|raw }}{% endif %}" + "markerSign": "{% set c = current.sign %}{% if c|slice(0, 3) == 'fa-' %}{% elseif c|slice(0, 5) == 'maki:' %}{% else %}{{ c|raw }}{% endif %}" }, "const": { "default": { "sign": "fa-shopping-bag" }, "shops": [ + { + "types": [ + "vacant" + ], + "sign": "fa-times" + }, { "types": [ "alcohol", "beverages" ], - "sign": "fa-beer" + "sign": "fa-wine-bottle" }, { "types": [ @@ -49,7 +55,8 @@ { "types": [ "bag", - "general" + "general", + "variety_store" ], "sign": "fa-shopping-bag" }, @@ -65,7 +72,13 @@ "types": [ "bicycle" ], - "sign": "🚲" + "sign": "fa-bicycle" + }, + { + "types": [ + "motorcycle" + ], + "sign": "fa-motorcycle" }, { "types": [ @@ -75,10 +88,17 @@ "fashion", "leather", "sewing", - "tailor" + "tailor", + "dry_cleaning" ], "sign": "👚" }, + { + "types": [ + "sea_food" + ], + "sign": "fa-fish" + }, { "types": [ "butcher", @@ -115,9 +135,22 @@ }, { "types": [ - "electronics" + "electronics", + "computer" ], - "sign": "📺" + "sign": "fa-tv" + }, + { + "types": [ + "electrical" + ], + "sign": "fa-bolt" + }, + { + "types": [ + "lighting" + ], + "sign": "fa-bulb" }, { "types": [ @@ -127,7 +160,14 @@ }, { "types": [ - "florist" + "toys" + ], + "sign": "fa-dice" + }, + { + "types": [ + "florist", + "garden_centre" ], "sign": "🌷" }, @@ -147,11 +187,12 @@ "types": [ "jewelry" ], - "sign": "💍" + "sign": "fa-ring" }, { "types": [ - "kiosk" + "kiosk", + "newsagent" ], "sign": "fa-newspaper-o" }, @@ -159,7 +200,7 @@ "types": [ "shoes" ], - "sign": "👟" + "sign": "fa-shoe-prints" }, { "types": [ @@ -178,6 +219,120 @@ "watches" ], "sign": "⌚" + }, + { + "types": [ + "gift" + ], + "sign": "fa-gift" + }, + { + "types": [ + "locksmith" + ], + "sign": "fa-key" + }, + { + "types": [ + "doityourself", + "hardware" + ], + "sign": "fa-tools" + }, + { + "types": [ + "art" + ], + "sign": "fa-palette" + }, + { + "types": [ + "stationery" + ], + "sign": "fa-pencil-ruler" + }, + { + "types": [ + "funeral_directors" + ], + "sign": "maki:monument" + }, + { + "types": [ + "copyshop" + ], + "sign": "fa-copy" + }, + { + "types": [ + "tobacco" + ], + "sign": "fa-smoking" + }, + { + "types": [ + "furniture", + "interior_decoration" + ], + "sign": "fa-couch" + }, + { + "types": [ + "car_repair", + "car", + "car_parts", + "tyres" + ], + "sign": "fa-car" + }, + { + "types": [ + "beauty", + "cosmetics" + ], + "sign": "" + }, + { + "types": [ + "music" + ], + "sign": "fa-guitar" + }, + { + "types": [ + "optician" + ], + "sign": "fa-glasses" + }, + { + "types": [ + "books" + ], + "sign": "fa-book" + }, + { + "types": [ + "sports" + ], + "sign": "fa-basketball-ball" + }, + { + "types": [ + "chemist" + ], + "sign": "fa-tablets" + }, + { + "types": [ + "pet" + ], + "sign": "fa-paw" + }, + { + "types": [ + "mobile_phone" + ], + "sign": "fa-mobile-alt" } ] },