feat(qgis): add editable traffic signal assemblies
This commit is contained in:
@@ -44,7 +44,11 @@ function parseOsm(xml) {
|
||||
const neighbor = way.refs[neighborIndex];
|
||||
if (!neighbor || !nodes.has(neighbor)) continue;
|
||||
const neighborPoint = nodes.get(neighbor);
|
||||
arms.push({ headingDegrees: headingBetween(control, neighborPoint), wayId: way.id });
|
||||
arms.push({
|
||||
headingDegrees: headingBetween(control, neighborPoint),
|
||||
wayId: String(way.id),
|
||||
neighborNodeId: String(neighbor),
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user