mapcomplete/assets/layers/fixme/fixme.json

77 lines
1.6 KiB
JSON

{
"id": "fixme",
"name": {
"en": "OSM objects with FIXME tags",
"de": "OSM-Objekte mit FIXME-Tags"
},
"minzoom": 16,
"description": {
"en": "OSM objects that likely need to be fixed, based on a FIXME tag.",
"de": "OSM-Objekte, die wahrscheinlich korrigiert werden müssen, basierend auf einem FIXME-Tag."
},
"syncSelection": "theme-only",
"source": {
"osmTags": {
"or": [
"fixme~*",
"FIXME~*"
]
}
},
"title": {
"render": {
"en": "OSM object with FIXME tag",
"de": "OSM-Objekt mit FIXME-Tags"
}
},
"tagRenderings": [
{
"id": "fixme",
"freeform": {
"key": "fixme",
"type": "text"
},
"question": {
"en": "What is wrong with this feature?",
"de": "Was stimmt mit diesem Objekt nicht?"
},
"mappings": [
{
"if": "fixme=",
"then": {
"en": "This issue has been resolved",
"de": "Dieses Problem wurde behoben"
}
}
],
"render": {
"en": "Fixme Text: {fixme}",
"de": "Fixme Text: {fixme}"
}
},
{
"id": "note",
"condition": "note~*",
"render": {
"en": "Note Text: {note}",
"de": "Notiz Text: {note}"
}
},
"all_tags"
],
"mapRendering": [
{
"location": [
"centroid",
"point"
],
"icon": "./assets/svg/bug.svg",
"label": "<div class='bg-white rounded p-2'>{fixme}</div>"
},
{
"color": "#ff0000",
"dashArray": "5,5",
"width": 2
}
]
}