diff --git a/assets/layers/shops/license_info.json b/assets/layers/shops/license_info.json new file mode 100644 index 000000000..f86846de2 --- /dev/null +++ b/assets/layers/shops/license_info.json @@ -0,0 +1,13 @@ +[ + { + "path": "shop-disused.svg", + "license": "CC0", + "authors": [ + "Maki icon set", + "Pietervdvn" + ], + "sources": [ + "https://github.com/mapbox/maki" + ] + } +] \ No newline at end of file diff --git a/assets/layers/shops/shop-disused.svg b/assets/layers/shops/shop-disused.svg new file mode 100644 index 000000000..14a0bde15 --- /dev/null +++ b/assets/layers/shops/shop-disused.svg @@ -0,0 +1,38 @@ + + + + + + diff --git a/assets/layers/shops/shops.json b/assets/layers/shops/shops.json index e9d6546e6..22ed2debe 100644 --- a/assets/layers/shops/shops.json +++ b/assets/layers/shops/shops.json @@ -322,7 +322,15 @@ "icon": { "builtin": "id_presets.shop_rendering", "override": { - "render": "./assets/layers/id_presets/maki-shop.svg" + "render": "./assets/layers/id_presets/maki-shop.svg", + "+mappings": [ + { + "if": { + "or": ["shop=vacant","shop=disused","disused:shop=yes"] + }, + "then": "circle:white;./assets/layers/shops/shop-disused.svg" + } + ] } }, "iconBadges": [ @@ -413,4 +421,4 @@ "accepts_cards", "has_organic" ] -} \ No newline at end of file +}