Remove arcs

This commit is contained in:
portree_kid 2020-03-22 12:17:58 +01:00
parent ec629a7ef4
commit 6d6c065793
4 changed files with 5 additions and 1 deletions

BIN
build/icons/256x256.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

BIN
build/icons/icon.icns Normal file

Binary file not shown.

BIN
build/icons/icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 KiB

View File

@ -169,10 +169,14 @@
case 'arc':
this.removeArc(this.$store.state.Editable.data.arc)
break;
default:
console.log('Remove : ' + this.$store.state.Editable.type)
}
},
removeArc (arc) {
console.log(arc);
var arcLayer = this.groundnetLayerGroup.getLayer(this.$store.state.Editable.index);
arcLayer.removeFrom(this.groundnetLayerGroup);
},
removeParking (index) {
if(this.featureLookup[index]===undefined) {