Browse Source

shop: add more types

aboriginal_lands
parent
commit
3929a5d8ae
  1. 177
      shop.json

177
shop.json

@ -26,19 +26,25 @@
"feature": { "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 %}", "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) }}", "description": "{{ tagTransList('shop', tags.shop) }}",
"markerSign": "{% set c = current.sign %}{% if c|slice(0, 3) == 'fa-' %}<i class=\"fa {{ c }}\"></i>{% else %}{{ c|raw }}{% endif %}"
"markerSign": "{% set c = current.sign %}{% if c|slice(0, 3) == 'fa-' %}<i class=\"fa {{ c }}\"></i>{% elseif c|slice(0, 5) == 'maki:' %}<img data-src=\"{{ c }}\">{% else %}{{ c|raw }}{% endif %}"
}, },
"const": { "const": {
"default": { "default": {
"sign": "fa-shopping-bag" "sign": "fa-shopping-bag"
}, },
"shops": [ "shops": [
{
"types": [
"vacant"
],
"sign": "fa-times"
},
{ {
"types": [ "types": [
"alcohol", "alcohol",
"beverages" "beverages"
], ],
"sign": "fa-beer"
"sign": "fa-wine-bottle"
}, },
{ {
"types": [ "types": [
@ -49,7 +55,8 @@
{ {
"types": [ "types": [
"bag", "bag",
"general"
"general",
"variety_store"
], ],
"sign": "fa-shopping-bag" "sign": "fa-shopping-bag"
}, },
@ -65,7 +72,13 @@
"types": [ "types": [
"bicycle" "bicycle"
], ],
"sign": "&#128690;"
"sign": "fa-bicycle"
},
{
"types": [
"motorcycle"
],
"sign": "fa-motorcycle"
}, },
{ {
"types": [ "types": [
@ -75,10 +88,17 @@
"fashion", "fashion",
"leather", "leather",
"sewing", "sewing",
"tailor"
"tailor",
"dry_cleaning"
], ],
"sign": "&#128090;" "sign": "&#128090;"
}, },
{
"types": [
"sea_food"
],
"sign": "fa-fish"
},
{ {
"types": [ "types": [
"butcher", "butcher",
@ -115,9 +135,22 @@
}, },
{ {
"types": [ "types": [
"electronics"
"electronics",
"computer"
], ],
"sign": "&#128250;"
"sign": "fa-tv"
},
{
"types": [
"electrical"
],
"sign": "fa-bolt"
},
{
"types": [
"lighting"
],
"sign": "fa-bulb"
}, },
{ {
"types": [ "types": [
@ -127,7 +160,14 @@
}, },
{ {
"types": [ "types": [
"florist"
"toys"
],
"sign": "fa-dice"
},
{
"types": [
"florist",
"garden_centre"
], ],
"sign": "&#127799;" "sign": "&#127799;"
}, },
@ -147,11 +187,12 @@
"types": [ "types": [
"jewelry" "jewelry"
], ],
"sign": "&#128141;"
"sign": "fa-ring"
}, },
{ {
"types": [ "types": [
"kiosk"
"kiosk",
"newsagent"
], ],
"sign": "fa-newspaper-o" "sign": "fa-newspaper-o"
}, },
@ -159,7 +200,7 @@
"types": [ "types": [
"shoes" "shoes"
], ],
"sign": "&#128095;"
"sign": "fa-shoe-prints"
}, },
{ {
"types": [ "types": [
@ -178,6 +219,120 @@
"watches" "watches"
], ],
"sign": "&#8986;" "sign": "&#8986;"
},
{
"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"
} }
] ]
}, },

Loading…
Cancel
Save