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.
9 lines
1.3 KiB
9 lines
1.3 KiB
{
|
|
"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-' %}<i class=\"fa {{ c }}\"></i>{% 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 }}"
|
|
}
|