How p0ll-png/klimatix works
KLIMATIX is represented here as a live flood-intelligence map: visitors open the map route, which renders the map UI; that UI loads recent flood reports and subscribes to new reports while Mapbox renders the geographic view. The two map components contain substantially duplicated implementations; only the components/ version is routed from the sampled page. The README is a generic Next.js starter and documents no additional product capabilities, so the graph reflects only the sampled map behavior.
Main entry points: components/BantayMap.jsx Map UI · map/BantayMap.jsx Alternate map · client.js Supabase client · page.js Map route
Components 7
Map experience
- Map route
src/app/map/page.js - Map UI
src/app/map/components/BantayMap.jsx - Alternate map
src/app/map/BantayMap.jsx
Flood data
- Supabase client
src/lib/supabase/client.js - Flood reports
Other components
- Map visitor
- Mapbox service
Connections 9
- Map visitor → Map route: opens
src/app/map/page.js - Map route → Map UI: renders
src/app/map/page.js - Map UI → Supabase client: uses client
src/app/map/components/BantayMap.jsx - Map UI → Flood reports: loads and subscribes
src/app/map/components/BantayMap.jsx - Map UI → Mapbox service: renders map
src/app/map/components/BantayMap.jsx - Alternate map → Supabase client: uses client
src/app/map/BantayMap.jsx - Alternate map → Flood reports: loads and subscribes
src/app/map/BantayMap.jsx - Alternate map → Mapbox service: renders map
src/app/map/BantayMap.jsx - Supabase client → Flood reports: configures access
src/lib/supabase/client.js