pull/36/head
portree_kid 5 years ago
parent ffc8d76d1f
commit 26a935997b

@ -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'};

Loading…
Cancel
Save