forked from MapComplete/MapComplete
Add fixme layer (#1390)
This commit is contained in:
parent
1a41d17ece
commit
0e898967a5
3 changed files with 59 additions and 3 deletions
54
assets/layers/fixme/fixme.json
Normal file
54
assets/layers/fixme/fixme.json
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"id": "fixme",
|
||||
"name": {
|
||||
"en": "OSM objects with FIXME tags"
|
||||
},
|
||||
"minzoom": 12,
|
||||
"description": {
|
||||
"en": "OSM objects that likely need to be fixed, based on a FIXME tag."
|
||||
},
|
||||
"shownByDefault": false,
|
||||
"syncSelection": "theme-only",
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"or": [
|
||||
"fixme~*",
|
||||
"FIXME~*"]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "OSM object with FIXME tag"
|
||||
}
|
||||
},
|
||||
"tagRenderings": [
|
||||
{
|
||||
"id": "fixme",
|
||||
"render": {
|
||||
"en": "Fixme Text: {fixme}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "note",
|
||||
"condition": "note~*",
|
||||
"render": {
|
||||
"en": "Note Text: {note}"
|
||||
}
|
||||
},
|
||||
"all_tags"
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"location": [
|
||||
"centroid",
|
||||
"point"
|
||||
],
|
||||
"icon": "./assets/svg/bug.svg"
|
||||
},
|
||||
{
|
||||
"color": "#ff0000",
|
||||
"dashArray": "5,5",
|
||||
"width": 2
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue