Selection
This commit is contained in:
@@ -148,8 +148,14 @@
|
||||
case 'parking':
|
||||
this.removeParking(this.$store.state.Editable.index)
|
||||
break;
|
||||
case 'arc':
|
||||
this.removeArc(this.$store.state.Editable.data.arc)
|
||||
break;
|
||||
}
|
||||
},
|
||||
removeArc (arc) {
|
||||
console.log(arc);
|
||||
},
|
||||
removeParking (index) {
|
||||
if(this.featureLookup[index]===undefined) {
|
||||
console.error("Lookup " + index + " failed ");
|
||||
@@ -220,7 +226,8 @@
|
||||
|
||||
},
|
||||
editedNode() {
|
||||
if (this.$store.state.Editable.data.node===undefined) {
|
||||
if (this.$store.state.Editable.data.node===undefined ||
|
||||
this.featureLookup===undefined) {
|
||||
return;
|
||||
}
|
||||
var isOnRunway = Number(this.$store.state.Editable.data.node.isOnRunway);
|
||||
|
||||
Reference in New Issue
Block a user