mapcomplete/assets/tagRenderings/icons.json

22 lines
633 B
JSON
Raw Normal View History

2020-11-21 15:36:05 +01:00
{
"osmlink": {
"render": "<a href='https://openstreetmap.org/{id}' target='_blank'><img src='./assets/svg/osm-logo-us.svg'/></a>",
"mappings": [
{
"if": "id~=-",
"then": "<span class='alert'>Uploading...</alert>"
}
]
},
"wikipedialink": {
"render": "<a href='https://wikipedia.org/wiki/{wikipedia}' target='_blank'><img src='./assets/wikipedia.svg' alt='WP'/></a>",
"condition": "wikipedia~*"
},
2020-11-21 16:46:05 +01:00
"phonelink": {
"render": "<a href='tel:{phone}'><img src='./assets/svg/phone.svg'/></a>",
2020-11-21 16:46:05 +01:00
"condition": "phone~*"
},
"sharelink": {
"render": "{share_link()}"
}
2020-11-21 15:36:05 +01:00
}