Fix: #1093
This commit is contained in:
parent
87e79b8e8c
commit
5a6ed7bf21
3 changed files with 61 additions and 2 deletions
13
assets/layers/shops/license_info.json
Normal file
13
assets/layers/shops/license_info.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
[
|
||||
{
|
||||
"path": "shop-disused.svg",
|
||||
"license": "CC0",
|
||||
"authors": [
|
||||
"Maki icon set",
|
||||
"Pietervdvn"
|
||||
],
|
||||
"sources": [
|
||||
"https://github.com/mapbox/maki"
|
||||
]
|
||||
}
|
||||
]
|
38
assets/layers/shops/shop-disused.svg
Normal file
38
assets/layers/shops/shop-disused.svg
Normal file
|
@ -0,0 +1,38 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
height="15"
|
||||
viewBox="0 0 15 15"
|
||||
width="15"
|
||||
id="shop"
|
||||
version="1.1"
|
||||
sodipodi:docname="shop-disused.svg"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs7" />
|
||||
<sodipodi:namedview
|
||||
id="namedview5"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:pageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="true"
|
||||
showgrid="false"
|
||||
inkscape:zoom="22.234113"
|
||||
inkscape:cx="-1.3942539"
|
||||
inkscape:cy="2.4961643"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="995"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="shop" />
|
||||
<path
|
||||
d="m13.33 5h-1.83l-.39-2.33c-.1601-.7182-.7017-1.2905-1.41-1.49-.3493-.1124-.7131-.173-1.08-.18h-2.24c-.3669.007-.7307.0676-1.08.18-.7083.1995-1.2499.7718-1.41 1.49l-.39 2.33h-1.83c-.2761-.0017-.5013.2208-.503.497-.0003.0519.0074.1035.023.153l1.88 6.3c.1964.6246.7753 1.0496 1.43 1.05h6c.651-.0047 1.2247-.4289 1.42-1.05l1.88-6.3c.0829-.2634-.0635-.5441-.3269-.627-.0463-.0146-.0945-.0223-.1431-.023zm-8.81 0 .36-2.17c.0807-.3625.3736-.6395.74-.7.2463-.0776.5019-.1213.76-.13h2.24c.2614.0078.5205.0515.77.13.3664.0605.6593.3375.74.7l.35 2.17h-6z"
|
||||
id="path2"
|
||||
style="fill:none;fill-opacity:1;stroke:#000000;stroke-opacity:1;stroke-width:0.2;stroke-miterlimit:4;stroke-dasharray:1.20000002,1.20000002;stroke-dashoffset:0" />
|
||||
</svg>
|
After Width: | Height: | Size: 1.7 KiB |
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue