Remove new TaxiwayNodes
This commit is contained in:
parent
fb72f8d760
commit
0756f377b3
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user