snap 5
This commit is contained in:
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…
Reference in New Issue
Block a user