Chore: reordering attributes to have a fixed order
This commit is contained in:
parent
fab6835bc5
commit
e13e9f652c
136 changed files with 7909 additions and 7909 deletions
|
@ -28,6 +28,78 @@
|
|||
"render": "<a href='https://maproulette.org/challenge/{mr_challengeId}/task/{mr_taskId}' target='_blank'><img src='./assets/layers/maproulette/logomark.svg'/></a>"
|
||||
}
|
||||
],
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"marker": [
|
||||
{
|
||||
"color": {
|
||||
"mappings": [
|
||||
{
|
||||
"if": "mr_taskStatus=Created",
|
||||
"then": "#959DFF"
|
||||
},
|
||||
{
|
||||
"if": "mr_taskStatus=Fixed",
|
||||
"then": "#65D2DA"
|
||||
},
|
||||
{
|
||||
"if": "mr_taskStatus=False positive",
|
||||
"then": "#F7BB59"
|
||||
},
|
||||
{
|
||||
"if": "mr_taskStatus=Skipped",
|
||||
"then": "#F7BB59"
|
||||
},
|
||||
{
|
||||
"if": "mr_taskStatus=Deleted",
|
||||
"then": "#737373"
|
||||
},
|
||||
{
|
||||
"if": "mr_taskStatus=Already fixed",
|
||||
"then": "#CCB186"
|
||||
},
|
||||
{
|
||||
"if": "mr_taskStatus=Too hard",
|
||||
"then": "#FF5E63"
|
||||
},
|
||||
{
|
||||
"if": "mr_taskStatus=Disabled",
|
||||
"then": "#FF349C"
|
||||
}
|
||||
]
|
||||
},
|
||||
"icon": {
|
||||
"render": "./assets/layers/maproulette/logomark.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"mr_taskStatus=Created",
|
||||
"mr_taskStatus=Fixed",
|
||||
"mr_taskStatus=False positive",
|
||||
"mr_taskStatus=Skipped",
|
||||
"mr_taskStatus=Deleted",
|
||||
"mr_taskStatus=Already fixed",
|
||||
"mr_taskStatus=Already fixed",
|
||||
"mr_taskStatus=Disabled",
|
||||
"mr_taskStatus=Too hard"
|
||||
]
|
||||
},
|
||||
"then": "pin"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"iconSize": "40,40",
|
||||
"anchor": "bottom"
|
||||
}
|
||||
],
|
||||
"lineRendering": [],
|
||||
"tagRenderings": [
|
||||
{
|
||||
"id": "details",
|
||||
|
@ -217,77 +289,5 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"marker": [
|
||||
{
|
||||
"color": {
|
||||
"mappings": [
|
||||
{
|
||||
"if": "mr_taskStatus=Created",
|
||||
"then": "#959DFF"
|
||||
},
|
||||
{
|
||||
"if": "mr_taskStatus=Fixed",
|
||||
"then": "#65D2DA"
|
||||
},
|
||||
{
|
||||
"if": "mr_taskStatus=False positive",
|
||||
"then": "#F7BB59"
|
||||
},
|
||||
{
|
||||
"if": "mr_taskStatus=Skipped",
|
||||
"then": "#F7BB59"
|
||||
},
|
||||
{
|
||||
"if": "mr_taskStatus=Deleted",
|
||||
"then": "#737373"
|
||||
},
|
||||
{
|
||||
"if": "mr_taskStatus=Already fixed",
|
||||
"then": "#CCB186"
|
||||
},
|
||||
{
|
||||
"if": "mr_taskStatus=Too hard",
|
||||
"then": "#FF5E63"
|
||||
},
|
||||
{
|
||||
"if": "mr_taskStatus=Disabled",
|
||||
"then": "#FF349C"
|
||||
}
|
||||
]
|
||||
},
|
||||
"icon": {
|
||||
"render": "./assets/layers/maproulette/logomark.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"mr_taskStatus=Created",
|
||||
"mr_taskStatus=Fixed",
|
||||
"mr_taskStatus=False positive",
|
||||
"mr_taskStatus=Skipped",
|
||||
"mr_taskStatus=Deleted",
|
||||
"mr_taskStatus=Already fixed",
|
||||
"mr_taskStatus=Already fixed",
|
||||
"mr_taskStatus=Disabled",
|
||||
"mr_taskStatus=Too hard"
|
||||
]
|
||||
},
|
||||
"then": "pin"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"iconSize": "40,40",
|
||||
"anchor": "bottom"
|
||||
}
|
||||
],
|
||||
"lineRendering": []
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue