Deselection

This commit is contained in:
portree_kid 2020-05-16 10:46:34 +02:00
parent 07042d92e7
commit 503dacd54a

View File

@ -49,6 +49,13 @@ L.RunwayNode = L.Marker.extend({
console.error(error); console.error(error);
} }
}, },
deselect() {
try {
this._icon.style['color'] = 'black';
} catch (error) {
console.error(error);
}
},
extensions: function (editLayer) { extensions: function (editLayer) {
this.options.attributes = {}; this.options.attributes = {};
if (typeof this.featureLookup[this.glueindex] === 'undefined') { if (typeof this.featureLookup[this.glueindex] === 'undefined') {