Improve maproulette documentation, add possibility to change the maproulette state with a special rendering

This commit is contained in:
Pieter Vander Vennet 2023-02-14 00:09:04 +01:00
parent 509b237d02
commit 2e5aef35b8
9 changed files with 334 additions and 118 deletions

View file

@ -53,7 +53,7 @@
}
]
},
"iconSize": "40,40,center"
"iconSize": "40,40,bottom"
}
],
"tagRenderings": [
@ -128,9 +128,41 @@
]
},
{
"id": "blurb",
"condition": "blurb~*",
"render": "{blurb}"
"id": "mark_fixed",
"render": {
"special": {
"type": "maproulette_set_status",
"message": {
"en": "Mark as fixed"
}
}
}
},
{
"id": "mark_duplicate",
"render": {
"special": {
"type": "maproulette_set_status",
"message": {
"en": "Mark as not found or false positive"
},
"status": "2",
"image": "close"
}
}
},
{
"id": "mark_too_hard",
"render": {
"special": {
"type": "maproulette_set_status",
"message": {
"en": "Mark as too hard"
},
"status": "6",
"image": "not_found"
}
}
}
],
"minzoom": 15,
@ -266,4 +298,4 @@
]
}
]
}
}

View file

@ -144,11 +144,6 @@
}
}
]
},
{
"id": "blurb",
"condition": "blurb~*",
"render": "{blurb}"
}
],
"filter": [
@ -229,4 +224,4 @@
]
}
]
}
}