forked from MapComplete/MapComplete
First draft of an element which deletes points
This commit is contained in:
parent
bbfcee686f
commit
5d3365afb8
13 changed files with 407 additions and 169 deletions
|
@ -64,6 +64,7 @@ export class Changes implements FeatureSource{
|
|||
if (elementTags[change.k] !== change.v) {
|
||||
elementTags[change.k] = change.v;
|
||||
console.log("Applied ", change.k, "=", change.v)
|
||||
// We use 'elementTags.id' here, as we might have retrieved with the id 'node/-1' as new point, but should use the rewritten id
|
||||
this.pending.data.push({elementId: elementTags.id, key: change.k, value: change.v});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue