From 36750b380f3edce48b2a8dc738ada184177ec4d2 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Fri, 30 Oct 2026 15:02:01 +0900 Subject: [PATCH] =?UTF-8?q?fix(D=20=EC=98=88=EC=A0=95=EB=85=B8=EC=84=A0):?= =?UTF-8?q?=20=EB=B0=9B=EA=B8=B0=20=EA=BC=B4=20=EC=9D=B4=EB=A6=84=20Terrai?= =?UTF-8?q?nAim=20=EB=A7=9E=EC=B6=A4=20=E2=80=94=20595=20=ED=95=A9?= =?UTF-8?q?=EC=B9=A8=20=EB=92=A4=20typecheck=200=20(PLAN=20596-2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- D03_PlanAnalysis/D03_PlanAnalysis_UI_Page.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/D03_PlanAnalysis/D03_PlanAnalysis_UI_Page.ts b/D03_PlanAnalysis/D03_PlanAnalysis_UI_Page.ts index 809917986..848270be6 100644 --- a/D03_PlanAnalysis/D03_PlanAnalysis_UI_Page.ts +++ b/D03_PlanAnalysis/D03_PlanAnalysis_UI_Page.ts @@ -44,7 +44,7 @@ import { type PlanJob, type PlanNetworkView, type PlanSurface, - type TerrainCenter, + type TerrainAim, type TerrainStart, } from "./D03_PlanAnalysis_Api"; import { openPlan3d } from "./D03_PlanAnalysis_UI_3D"; @@ -251,7 +251,7 @@ export async function renderD03PlanAnalysis(root: HTMLElement): Promise { const allVertices = (): Vertex[] => network.lines.flatMap((line) => line.vertices); const snap = (): Snap => ({ network, points, pointNames, site }); /** 위치를 옮기고 [저장] 전 — 받기 · 범위 물음에 새 기준점을 실음. */ - const moved = (): TerrainCenter["center"] => + const moved = (): TerrainAim["center"] => site && JSON.stringify(site) !== JSON.stringify(savedSite) ? { lon: site.lon, lat: site.lat } : null; @@ -381,7 +381,7 @@ export async function renderD03PlanAnalysis(root: HTMLElement): Promise { * 아니오 = 안 받음(거짓). 이미 도는 일(다른 창)이면 그것을 지켜봄. */ async function download(extra: Vertex[]): Promise { busy = true; // 요청이 가는 동안 다른 받기를 막음(지켜보기가 이어 받음) - const where: TerrainCenter = { center: moved() }; + const where: TerrainAim = { center: moved() }; try { let answer: TerrainStart = await startTerrain(projectId, null, extra, where); if (answer.status === "far" || answer.status === "band") {