aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/ParkMap.astro
diff options
context:
space:
mode:
authorYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-10-18 22:42:22 +0900
committerYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-10-18 22:42:22 +0900
commit6d5fe2aabb2cee0539993bcd05599bc5ea28e385 (patch)
treedab7f9cc358b1ad745d23a0dc0a09fdc4f88d18a /src/components/ParkMap.astro
parent9a169c21e1032493a68d575b534cd31179b437e3 (diff)
parks: 都営住宅内の公園を追加し、OSM重複24件を統合
Diffstat (limited to 'src/components/ParkMap.astro')
-rw-r--r--src/components/ParkMap.astro16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/components/ParkMap.astro b/src/components/ParkMap.astro
index 8fdf5bf..6de92f8 100644
--- a/src/components/ParkMap.astro
+++ b/src/components/ParkMap.astro
@@ -274,13 +274,15 @@
if (owner && owner !== "小平市") ownerByName.set(name, owner);
});
const ownerLabel = (owner: string) =>
- owner === "東京都"
- ? "都立"
- : owner.includes("UR")
- ? "UR"
- : owner.includes("民間")
- ? "民間"
- : owner;
+ owner.includes("都営")
+ ? "都営"
+ : owner === "東京都"
+ ? "都立"
+ : owner.includes("UR")
+ ? "UR"
+ : owner.includes("民間")
+ ? "民間"
+ : owner;
const filterName = (name: string, scroll = false) => {
document.dispatchEvent(