auto: 2026-08-19 18:33 (EOMSANGDON-HOME)

This commit is contained in:
2026-08-19 18:33:03 +09:00
parent 2745168888
commit 074bf9c0c0
+5 -2
View File
@@ -369,6 +369,9 @@ export function createRouteMarkers(
.filter((entry) => Number.isFinite(entry.chainage_m))
.map((entry) => ({ chainage_m: entry.chainage_m as number })),
);
// 측점선(노란 띠)은 도로 반폭의 1.5배로 그린다 — 지형에 묻혀 짧아 보이는 문제
// (2026-08-19 사용자 지시). 측구 방향 램프는 늘어난 선의 **끝단**에 따라붙는다.
const barHalfWidth = halfWidth * 1.5;
stations.forEach((station) => {
if (station.center_z === null) return;
const [leftX, leftY] = station.frame.left_xy;
@@ -377,11 +380,11 @@ export function createRouteMarkers(
stationCenters.set(station.station_id, modelToScene(center, bounds));
const points = [
modelToScene(
{ x: center.x + leftX * halfWidth, y: center.y + leftY * halfWidth, z: center.z },
{ x: center.x + leftX * barHalfWidth, y: center.y + leftY * barHalfWidth, z: center.z },
bounds,
),
modelToScene(
{ x: center.x - leftX * halfWidth, y: center.y - leftY * halfWidth, z: center.z },
{ x: center.x - leftX * barHalfWidth, y: center.y - leftY * barHalfWidth, z: center.z },
bounds,
),
];