Files
sd-park-pass-map/app/utils/library-locations.ts
Aram Chia Sarafian a25c94093b Update Jest and tests
Move constants to separate file
Fix loop compatibility
2025-07-13 20:39:19 -07:00

27 lines
1.2 KiB
TypeScript

// Library branch locations with approximate coordinates
// Shared between API route and tests
export const LIBRARY_LOCATIONS: Record<string, { lat: number; lng: number }> = {
'Beckwourth': { lat: 32.7157, lng: -117.1611 },
'Benjamin': { lat: 32.8328, lng: -117.2713 },
'Balboa': { lat: 32.7330, lng: -117.1430 },
'Carmel Mountain': { lat: 32.9286, lng: -117.1311 },
'Carmel Valley': { lat: 32.9340, lng: -117.2340 },
'Central Library': { lat: 32.7216, lng: -117.1574 },
'City Heights': { lat: 32.7411, lng: -117.1045 },
'Clairemont': { lat: 32.8328, lng: -117.2050 },
'College-Rolando': { lat: 32.7482, lng: -117.0704 },
'Kensington': { lat: 32.7644, lng: -117.1164 },
'La Jolla': { lat: 32.8344, lng: -117.2544 },
'Linda Vista': { lat: 32.7714, lng: -117.1789 },
'Logan Heights': { lat: 32.7030, lng: -117.1289 },
'Malcolm X': { lat: 32.7089, lng: -117.1242 },
'Mission Hills': { lat: 32.7469, lng: -117.1978 },
'Oak Park': { lat: 32.7328, lng: -117.1461 },
'Paradise Hills': { lat: 32.6747, lng: -117.0742 },
'Rancho Bernardo': { lat: 33.0200, lng: -117.1156 },
'Rancho Penasquitos': { lat: 32.958034, lng: -117.121975 },
'San Ysidro': { lat: 32.5592, lng: -117.0431 },
'Skyline Hills': { lat: 32.6781, lng: -117.0200 },
};