Remove new TaxiwayNodes

This commit is contained in:
portree_kid 2020-04-28 20:37:34 +02:00
parent fb72f8d760
commit 0756f377b3

View File

@ -104,6 +104,7 @@ exports.extendTaxiSegment = function (taxiwaySegment) {
event.vertex.latlng.attributes = {index: event.vertex.glueindex, isOnRunway: 0}; event.vertex.latlng.attributes = {index: event.vertex.glueindex, isOnRunway: 0};
this.editLayer.featureLookup[event.vertex.glueindex] = []; this.editLayer.featureLookup[event.vertex.glueindex] = [];
this.editLayer.featureLookup[event.vertex.glueindex].push(event.vertex); this.editLayer.featureLookup[event.vertex.glueindex].push(event.vertex);
this.editLayer.featureLookup[event.vertex.glueindex].push(taxiwaySegment);
if (taxiwaySegment.options.attributes.start === undefined) { if (taxiwaySegment.options.attributes.start === undefined) {
taxiwaySegment.options.attributes.start = event.vertex['glueindex'] taxiwaySegment.options.attributes.start = event.vertex['glueindex']
} else { } else {