From 22f306249d0a6bbf431c057edd21571deba35a53 Mon Sep 17 00:00:00 2001 From: que01 Date: Fri, 7 Aug 2026 13:23:33 +0800 Subject: [PATCH] feat(preview): default inspect mode to roads --- scripts/lib/cesium-preview.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/lib/cesium-preview.js b/scripts/lib/cesium-preview.js index 75e536b..72398f5 100644 --- a/scripts/lib/cesium-preview.js +++ b/scripts/lib/cesium-preview.js @@ -258,6 +258,8 @@ const label = document.createElement("label"); const input = document.createElement("input"); input.type = "checkbox"; + // Road observation is the primary workflow. Keep the optional semantic + // layers available, but avoid letting buildings obscure the first view. input.checked = false; input.dataset.assetId = asset.id; input.addEventListener("change", async () => { @@ -347,8 +349,9 @@ } return; } - model.show = true; - if (asset.toggle) asset.toggle.checked = true; + const roadFocus = asset.id === "roads"; + model.show = roadFocus; + if (asset.toggle) asset.toggle.checked = roadFocus; })); if (viewMode !== "inspect") { for (const asset of semanticAssets(assets)) {