From 80b0b267053b3f3b19ddc04f69ac25c706c5db11 Mon Sep 17 00:00:00 2001 From: Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> Date: Tue, 3 Nov 2026 23:51:31 +0900 Subject: parks: 未確認の公園を絞り込み・表示できるように MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 「未確認のみ」フィルタ、名称横の「未確認」バッジ、地図上の「?」バッジと凡例を追加した。 --- src/components/ParkMap.astro | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/components/ParkMap.astro') diff --git a/src/components/ParkMap.astro b/src/components/ParkMap.astro index 1a70ce2..3cccc7c 100644 --- a/src/components/ParkMap.astro +++ b/src/components/ParkMap.astro @@ -267,6 +267,11 @@ border: 1px solid #8e0000; border-radius: 50%; } + :global(.park-fac-unconfirmed) { + background: #616161; + border: 1px solid #212121; + border-radius: 50%; + } :global(.park-fac svg) { display: block; } @@ -935,6 +940,11 @@ '消', ); } + if ((p["備考"] || "").includes("未確認")) { + icons.push( + '?', + ); + } if (!icons.length) return; const center = centerOfLayer(lyr); L.marker([center.lat, center.lng], { -- cgit v1.3.1