forked from OpenStreetBrowser/main
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
138 lines
3.8 KiB
138 lines
3.8 KiB
{
|
|
"type": "overpass",
|
|
"query": {
|
|
"14": "(node[shop~'^(mall|department_store)$'];way[shop~'^(mall|department_store)$'];relation[shop~'^(mall|department_store)$'];);",
|
|
"16": "(node[shop];way[shop];relation[shop];);"
|
|
},
|
|
"minZoom": 14,
|
|
"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 %}",
|
|
"body": "{{ 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 %}",
|
|
"__": "no icons for: brewing_supplies, charity, second_hand, variety_store"
|
|
},
|
|
"const": {
|
|
"default": {
|
|
"sign": "fa-shopping-bag"
|
|
},
|
|
"shops": [
|
|
{
|
|
"types": [
|
|
"alcohol",
|
|
"beverages"
|
|
],
|
|
"sign": "fa-beer"
|
|
},
|
|
{
|
|
"types": [
|
|
"baby_goods"
|
|
],
|
|
"sign": "🚼"
|
|
},
|
|
{
|
|
"types": [
|
|
"bag",
|
|
"general"
|
|
],
|
|
"sign": "fa-shopping-bag"
|
|
},
|
|
{
|
|
"types": [
|
|
"bakery",
|
|
"confectionery",
|
|
"pastry"
|
|
],
|
|
"sign": "fa-birthday-cake"
|
|
},
|
|
{
|
|
"types": [
|
|
"boutique",
|
|
"clothes",
|
|
"fabric",
|
|
"fashion",
|
|
"leather",
|
|
"sewing",
|
|
"tailor"
|
|
],
|
|
"sign": "👚"
|
|
},
|
|
{
|
|
"types": [
|
|
"butcher",
|
|
"cheese",
|
|
"chocolate",
|
|
"deli",
|
|
"dairy",
|
|
"farm",
|
|
"greengrocer",
|
|
"pasta",
|
|
"spices"
|
|
],
|
|
"sign": "fa-cutlery"
|
|
},
|
|
{
|
|
"types": [
|
|
"coffee",
|
|
"tea"
|
|
],
|
|
"sign": "fa-coffee"
|
|
},
|
|
{
|
|
"types": [
|
|
"convenience"
|
|
],
|
|
"sign": "fa-shopping-basket"
|
|
},
|
|
{
|
|
"types": [
|
|
"department_store",
|
|
"mall"
|
|
],
|
|
"sign": "fa-building"
|
|
},
|
|
{
|
|
"types": [
|
|
"hairdresser"
|
|
],
|
|
"sign": "👱"
|
|
},
|
|
{
|
|
"types": [
|
|
"ice_cream"
|
|
],
|
|
"sign": "🍨"
|
|
},
|
|
{
|
|
"types": [
|
|
"jewelry"
|
|
],
|
|
"sign": "💍"
|
|
},
|
|
{
|
|
"types": [
|
|
"kiosk"
|
|
],
|
|
"sign": "fa-newspaper-o"
|
|
},
|
|
{
|
|
"types": [
|
|
"shoes"
|
|
],
|
|
"sign": "👟"
|
|
},
|
|
{
|
|
"types": [
|
|
"supermarket"
|
|
],
|
|
"sign": "fa-shopping-cart"
|
|
},
|
|
{
|
|
"types": [
|
|
"watches"
|
|
],
|
|
"sign": "⌚"
|
|
}
|
|
]
|
|
}
|
|
}
|