Node edit

This commit is contained in:
portree_kid
2020-06-08 22:54:01 +02:00
parent 32c0cbd33b
commit d9eed59de7
3 changed files with 21 additions and 10 deletions
+2 -1
View File
@@ -694,8 +694,9 @@
if(element.__vertex && Number(element.glueindex) === Number(nIndex)){
if (this.$store.state.Editable.data.node.coords) {
console.log('Cords : ' + this.$store.state.Editable.data.node.coords);
this.setPointCoords(this.$store.state.Editable.index, this.$store.state.Editable.data.node.coords)
var position = new Coordinates(this.$store.state.Editable.data.node.coords);
latlng = {lat: position.latitude, lng: position.longitude };
}
}
});