Improve maproulette documentation, add possibility to change the maproulette state with a special rendering
This commit is contained in:
parent
509b237d02
commit
2e5aef35b8
9 changed files with 334 additions and 118 deletions
|
@ -702,7 +702,7 @@ export class ImportPointButton extends AbstractImportButton {
|
|||
Hash.hash.setData(newElementAction.newElementId)
|
||||
|
||||
if (note_id !== undefined) {
|
||||
state.osmConnection.closeNote(note_id, "imported")
|
||||
await state.osmConnection.closeNote(note_id, "imported")
|
||||
originalFeatureTags.data["closed_at"] = new Date().toISOString()
|
||||
originalFeatureTags.ping()
|
||||
}
|
||||
|
@ -720,7 +720,7 @@ export class ImportPointButton extends AbstractImportButton {
|
|||
)
|
||||
} else {
|
||||
console.log("Marking maproulette task as fixed")
|
||||
state.maprouletteConnection.closeTask(Number(maproulette_id))
|
||||
await state.maprouletteConnection.closeTask(Number(maproulette_id))
|
||||
originalFeatureTags.data["mr_taskStatus"] = "Fixed"
|
||||
originalFeatureTags.ping()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue