Holdpoint nodes
This commit is contained in:
@@ -9,6 +9,7 @@ const TaxiwaySegment = require('./TaxiwaySegment');
|
||||
|
||||
const parkingSpot = require('./ParkingSpot.js');
|
||||
const runwayNode = require('./RunwayNode.js');
|
||||
const holdNode = require('./HoldNode.js');
|
||||
|
||||
const store = require('../store');
|
||||
|
||||
@@ -81,6 +82,13 @@ exports.readGroundnetXML = function (fDir, icao, force) {
|
||||
}
|
||||
featureLookup[rNode.glueindex].push(rNode);
|
||||
}
|
||||
if (n.attr('holdPointType') !== 'none' && n.attr('holdPointType') !== null) {
|
||||
var hNode = holdNode(n, layerGroup);
|
||||
if (featureLookup[hNode.glueindex] === undefined) {
|
||||
featureLookup[hNode.glueindex] = [];
|
||||
}
|
||||
featureLookup[hNode.glueindex].push(hNode);
|
||||
}
|
||||
|
||||
//store.default.dispatch('setNode', n)
|
||||
}).sort();
|
||||
|
||||
Reference in New Issue
Block a user