How bagpotato/mapa-interactivo-cataluna works
Coneix Cat is a client-rendered interactive map for exploring places across Catalonia, Mallorca, and Menorca. A visitor opens the map, filters or searches destinations and can change the regional view; selecting a place opens its detail panel, which includes seasonal guidance, images, and links for directions and further reading. The sampled map component owns these interactions and reads its destination records from a separate catalog. External map tiles and image lookups are visible in the excerpt; other source files were not inspected, so the graph avoids inferring additional subsystems.
Main entry points: catalonia-map.tsx Interactive map · page.tsx Map page · pois.ts POI catalog
Components 11
Application entry
- Map page
nextjs_space/app/page.tsx
Map exploration
- Interactive map
nextjs_space/components/catalonia-map.tsx - Search and filters
nextjs_space/components/catalonia-map.tsx - Region navigation
nextjs_space/components/catalonia-map.tsx - Place details
nextjs_space/components/catalonia-map.tsx
Places and integrations
- POI catalog
nextjs_space/components/pois.ts - Carto map tiles
- Wikipedia images
- Google Maps directions
- Wikipedia articles
Other components
- Map visitor
Connections 10
- Map visitor → Map page: opens
- Map page → Interactive map: loads dynamically
nextjs_space/app/page.tsx - Interactive map → POI catalog: reads places
nextjs_space/components/catalonia-map.tsx - Interactive map → Search and filters: renders
nextjs_space/components/catalonia-map.tsx - Interactive map → Region navigation: renders
nextjs_space/components/catalonia-map.tsx - Interactive map → Place details: opens place
nextjs_space/components/catalonia-map.tsx - Interactive map → Carto map tiles: loads tiles
nextjs_space/components/catalonia-map.tsx - Place details → Wikipedia images: fetches images
nextjs_space/components/catalonia-map.tsx - Place details → Google Maps directions: links directions
nextjs_space/components/catalonia-map.tsx - Place details → Wikipedia articles: links article
nextjs_space/components/catalonia-map.tsx