refactor(junction): share canonical entry rings

This commit is contained in:
que01 committed 2026-09-09 13:55:52 +08:00
1 parent f4cf42f1c6
commit 2f627df232
3 files changed
+14 -7

No files matched your search

+1 -7
View File
@@ -513,13 +513,7 @@ function buildComplexJunctionGeometry(model, cluster, helpers) {
);
}
for (const { item, section } of boundaryParts) {
const ring = [
section.outer.right,
section.inner.right,
section.inner.left,
section.outer.left,
section.outer.right,
];
const ring = section.ring;
features.push({
type: 'Feature',
properties: {