feat(B05): 평면 도구줄 = 공용 지도 도구줄 아이콘 14 (PLAN 568-2 · 요구 395-1)

- 글자 유리 단추 줄 · [?] 안내 판 · 나눔선 다섯 → createMapTools 한 줄(긴 설명은 마우스 글 · 누름 동작 · 단축키 그대로)
- 3D 단추 = mapToolButton("view3d") · 클래스 b05-route__3d-open 유지 · 거리 재기 aria-pressed 맞춤
- 가이드 촬영 선택자(.b05-routeedit__tools · [data-act="hint-toggle"] · .b05-routeedit__hint.is-open) 그대로
- 시험 고침 — 옛 글자 단추 · 나눔선 · 안내 판 CSS 를 잡던 다섯(차례 · 안내 판 · 절/성토선 이름 · 3D 막이)
- 부품 — 빈 묶음 건너뜀 · [hidden] 숨김 규칙

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-28 07:10:21 +09:00
co-authored by Claude Opus 5.5
parent 38c40f70bc
commit dee16cab37
11 changed files with 145 additions and 168 deletions
+3 -3
View File
@@ -77,9 +77,9 @@ export interface MapTools {
export function createMapTools(opts: MapToolsOptions): MapTools {
const root = document.createElement("div");
root.className = "ui-map-tools";
const groups = opts.groups.map((group) =>
group.map((item) => (typeof item === "string" ? mapToolButton(item) : item)),
);
const groups = opts.groups
.filter((group) => group.length)
.map((group) => group.map((item) => (typeof item === "string" ? mapToolButton(item) : item)));
let hint: HTMLElement | null = null;
if (opts.hint) {
const { lines, onToggle } = opts.hint;