diff --git a/src/renderer/loaders/TaxiwaySegmentExtender.js b/src/renderer/loaders/TaxiwaySegmentExtender.js index 3dabf23..a30ddda 100644 --- a/src/renderer/loaders/TaxiwaySegmentExtender.js +++ b/src/renderer/loaders/TaxiwaySegmentExtender.js @@ -83,7 +83,7 @@ exports.extendTaxiSegment = function (taxiwaySegment) { }); this.on('editable:vertex:new', event => { console.log(event) - let closest = this.editLayer.closestLayerSnap(event.latlng, 10) + let closest = this.editLayer.closestLayerSnap(event.latlng, 5) let taxiwaySegment = event.latlng.__vertex.editor.feature; if(taxiwaySegment.options.attributes === undefined) { taxiwaySegment.options.attributes = {direction: 'bi-directional'};