|
| 1 | +// Building center positions for URL sharing |
| 2 | +export const buildingCenters: Record<string, [number, number]> = { |
| 3 | + building1: [1064, 1904], |
| 4 | + building2: [921, 1095], |
| 5 | + building5: [1558, 1488], |
| 6 | + building7: [1401, 1645], |
| 7 | + building8: [1393, 2073], |
| 8 | + building9: [1569, 1971], |
| 9 | + building10: [1400, 1824], |
| 10 | + building11: [1104, 1567], |
| 11 | + building12: [1017, 1267], |
| 12 | + building13: [1169, 1314], |
| 13 | + building14: [1120, 1072], |
| 14 | + building15: [1409, 816], |
| 15 | + building16: [1575, 881], |
| 16 | + building17: [1537, 1222], |
| 17 | + building18: [1641, 1770], |
| 18 | + building19: [2039, 2628], |
| 19 | + building101: [1149, 2300], |
| 20 | + building900: [808, 1465], |
| 21 | + komcee_west: [1643, 2226], |
| 22 | + komcee_east: [1533, 2343], |
| 23 | + info_edu: [431, 1603], |
| 24 | + administration: [644, 2244], |
| 25 | + comipla_north: [1350, 2786], |
| 26 | + library: [938, 2800], |
| 27 | + second_gymnasium: [1628, 2686], |
| 28 | + first_gymnasium: [1716, 2988], |
| 29 | + campus_plaza_a: [1504, 2823], |
| 30 | + campus_plaza_b: [1505, 2941], |
| 31 | + komaba_museum: [818, 2336], |
| 32 | + advanced_research_lab: [1859, 1609], |
| 33 | + komaba_international_edu: [1401, 1249], |
| 34 | + komaba_health_center: [550, 1539], |
| 35 | + coop_cafeteria: [1123, 2571], |
| 36 | + science_center_a: [836, 2068], |
| 37 | + science_center_b: [850, 2288], |
| 38 | + science_center_c: [843, 2187], |
| 39 | + science_center_d: [834, 2399], |
| 40 | + science_center_e: [835, 2640], |
| 41 | + science_center_f: [921, 2638], |
| 42 | + science_center_g: [1081, 2288], |
| 43 | + science_center_h: [1081, 2220], |
| 44 | + science_center_i: [1081, 2172], |
| 45 | +}; |
| 46 | + |
| 47 | +export function getBuildingCenter(buildingId: string): [number, number] | null { |
| 48 | + return buildingCenters[buildingId] || null; |
| 49 | +} |
0 commit comments