diff --git a/index.json b/index.json index 9d1ce5d..b8098b5 100644 --- a/index.json +++ b/index.json @@ -5,6 +5,10 @@ "id": "gastro", "name:en": "Gastronomy" }, + { + "id": "shop", + "name:en": "Shopping" + }, { "id": "trees", "name:en": "Trees" diff --git a/shop.json b/shop.json new file mode 100644 index 0000000..ca81f80 --- /dev/null +++ b/shop.json @@ -0,0 +1,9 @@ +{ + "type": "category", + "query": "(node[shop];way[shop];relation[shop];);", + "minZoom": 16, + "markerSign": "{% set c = { alcohol: 'fa-beer', baby_goods: '🚼', bag: 'fa-shopping-bag', bakery: 'fa-birthday-cake', beverages: 'fa-beer', boutique: '👚', butcher: 'fa-cutlery', cheese: 'fa-cutlery', chocolate: 'fa-cutlery', clothes: '👚', coffee: 'ia-coffee', confectionery: 'fa-birthday-cake', convenience: 'fa-shopping-basket', deli: 'fa-cutlery', dairy: 'fa-cutlery', department_store: 'fa-building', fabric: '👚', farm: 'fa-cutlery', fashion: '👚', general: 'fa-shopping-bag', greengrocer: 'fa-cutlery', hairdresser: '👱', ice_cream: '🍨', jewelry: '💍', kiosk: 'fa-newspaper-o', leather: '👚', mall: 'fa-building', pasta: 'fa-cutlery', pastry: 'fa-birthday-cake', seafood: 'fa-cutlery', sewing: '👚', shoes: '👟', spices: 'fa-cutlery', supermarket: 'fa-shopping-cart', tailor: '👚', tea: 'fa-coffee', watches: '⌚' }[tags.shop]|default('fa-shopping-bag') %}{% if c|slice(0, 3) == 'fa-' %}{% else %}{{ c|raw }}{% endif %}", + "__": "need better icons for: bakery, butcher, cheese, ice_cream, ", + "__": "no icons for: brewing_supplies, charity, second_hand, variety_store", + "featureBody": "{{ tags.shop }}" +}