Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
b315062
Implement automated MongoDB data fetching with GitHub Actions, add do…
langbart May 21, 2025
d5eb62e
Add configuration files for Tailwind CSS and PostCSS, implement data …
langbart May 22, 2025
0f234b3
Enhance Map component with a new Sidebar for data visualization, inte…
langbart May 26, 2025
0d8f3d0
Add PDS grids integration to the map component, including new grid vi…
langbart May 26, 2025
9083e45
Refactor Map component to conditionally render grid layers based on v…
langbart May 26, 2025
d404471
Enhance Map component with satellite view toggle, improve data loadin…
langbart May 26, 2025
d3fe20b
Refactor Map component to enhance tooltip functionality, streamline l…
langbart May 26, 2025
ca4bc8b
Update Map and Sidebar components to improve UI consistency and funct…
langbart May 26, 2025
5afb32f
Enhance data handling and visualization in Map component. Integrate n…
langbart May 26, 2025
03d214c
Refactor Map and GridInfoPanel components to enhance color handling a…
langbart May 26, 2025
5989e79
fix: add @deck.gl/widgets dependency for Vercel build
langbart May 26, 2025
226a872
chore: update package-lock.json to include @deck.gl/widgets and adjus…
langbart May 26, 2025
973c6d8
Enhance Map component hover interactions by introducing hoveredFeatur…
langbart May 26, 2025
edfec9a
Refactor Map and Sidebar components to enhance user interaction and d…
langbart May 26, 2025
b5a70f6
Refactor Header, Map, and Sidebar components to enhance UI consistenc…
langbart May 26, 2025
3cb3c83
Implement visualization mode toggle in Map and Sidebar components. In…
langbart May 27, 2025
0c1a681
Update Map component to display metric units in the legend and adjust…
langbart May 27, 2025
1bd6c5e
Update Map and DistributionHistogram components to integrate time ser…
langbart May 27, 2025
445fa1b
Merge branch 'main' into fetch-data
langbart May 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/components/Map.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const MapComponent = () => {
const [isDarkTheme, setIsDarkTheme] = useState(true);

// Satellite mode state
const [isSatellite, setIsSatellite] = useState(false);
const [isSatellite, setIsSatellite] = useState(true);

// Panel states
const [activeTab, setActiveTab] = useState('analysis'); // 'analysis' | 'charts' | 'selection'
Expand All @@ -206,7 +206,7 @@ const MapComponent = () => {
});

// Load map data including PDS grids
const { boundaries, pdsGridsData, loading, error, totalValue } = useMapData();
const { boundaries, pdsGridsData, timeSeriesData, loading, error, totalValue } = useMapData();

// Add sidebar state
const [isSidebarOpen, setIsSidebarOpen] = useState(!isMobile);
Expand Down Expand Up @@ -820,6 +820,7 @@ const MapComponent = () => {
boundaries={boundaries}
selectedMetric={selectedMetric}
selectedRegion={selectedRegion}
timeSeriesData={timeSeriesData}
onClose={() => setSelectedRegion(null)}
style={{
position: 'absolute',
Expand Down
Loading