diff --git a/frontend/app/components/modules/map/map-data.ts b/frontend/app/components/modules/map/map-data.ts index f47238a2..f29440dd 100644 --- a/frontend/app/components/modules/map/map-data.ts +++ b/frontend/app/components/modules/map/map-data.ts @@ -11,6 +11,7 @@ type Town = { name: string; image: Image; centerCoordinate: Coordinate; + color: string; }; const CityObjectImages = [ @@ -56,10 +57,12 @@ export const TownList = [ name: "チェアタウン", centerCoordinate: { latitude: 0, longitude: 0 }, image: { src: "/images/town.svg", width: 500, height: 500 }, + color: "emerald", }, { name: "コシカケシティ", centerCoordinate: { latitude: 300, longitude: 300 }, image: { src: "/images/town.svg", width: 500, height: 500 }, + color: "amber", }, ] satisfies Town[]; diff --git a/frontend/app/components/modules/map/map.tsx b/frontend/app/components/modules/map/map.tsx index 2ba3e317..06d769dc 100644 --- a/frontend/app/components/modules/map/map.tsx +++ b/frontend/app/components/modules/map/map.tsx @@ -263,7 +263,7 @@ const ChairLayer: FC<{ const TownLayer = memo(function TownLayer() { return (