From a7abcd6c5f30209620058a764540cf6c753c9e38 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Sun, 1 Nov 2026 12:03:48 +0900 Subject: [PATCH] =?UTF-8?q?fix(636-2):=20=EA=B0=80=EC=9D=B4=EB=93=9C=20?= =?UTF-8?q?=EC=84=A0=20=EA=B8=80=20=EC=9E=90=EB=A6=AC=20=3D=20=EB=81=9D=20?= =?UTF-8?q?=EC=A7=80=EC=A0=90=20=ED=95=80=20=EC=95=84=EB=9E=98=20=C2=B7=20?= =?UTF-8?q?=ED=99=94=EB=A9=B4=20=EC=98=A4=EB=A5=B8=EC=AA=BD=20=EB=B0=98?= =?UTF-8?q?=EC=9D=B4=EB=A9=B4=20=EC=98=A4=EB=A5=B8=EC=AA=BD=20=EB=A7=9E?= =?UTF-8?q?=EC=B6=A4(=EC=A7=80=EC=A0=90=20=EC=9D=B4=EB=A6=84=20=C2=B7=20?= =?UTF-8?q?=ED=99=94=EB=A9=B4=20=EB=81=9D=EC=97=90=20=EC=95=88=20=EA=B1=B8?= =?UTF-8?q?=EB=A6=BC)?= 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_Guide.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/D03_PlanAnalysis/D03_PlanAnalysis_UI_Guide.ts b/D03_PlanAnalysis/D03_PlanAnalysis_UI_Guide.ts index 7aa77d217..d7202aabb 100644 --- a/D03_PlanAnalysis/D03_PlanAnalysis_UI_Guide.ts +++ b/D03_PlanAnalysis/D03_PlanAnalysis_UI_Guide.ts @@ -148,7 +148,9 @@ export function createPlanGuide(opts: { const s = summary(); const [x, y] = map.toScreen(end); const text = `가이드 ${(s.lengthM / 1000).toFixed(2)} km · 최대 ${s.maxGradePct.toFixed(1)} % · 급경사 지남 ${s.steepPct.toFixed(0)} %`; - planLabel(context, map, x, y - 22, text, "bold 12px"); + // 끝 지점 핀 아래 · 화면 오른쪽 반이면 오른쪽 맞춤(지점 이름 · 화면 끝에 안 걸림) + const right = x > context.canvas.clientWidth / 2; + planLabel(context, map, x, y + 16, text, "bold 12px", right ? "right" : "left"); }, };