/* ======================================== File: frontend/features/map/components/analytics-overlay.tsx ======================================== */ "use client"; import { LineChart, Wind, Droplets, Sparkles, Bot } from "lucide-react"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { AreaChart } from "./area-chart"; import { Overlay } from "./overlay-system/overlay"; // Import local overlay system import { useOverlay } from "./overlay-system/overlay-context"; export function AnalyticsOverlay() { const { toggleOverlay } = useOverlay(); const handleChatClick = () => { toggleOverlay("chat"); }; return ( } initialPosition="top-right" initialIsOpen={true} width="350px">

Information in radius will be analyzed

{/* Area Price History Card */} Area Price History
10,000,000 Baht

Overall Price History of this area

{/* Price Prediction Card */} Price Prediction
15,000,000 Baht

The estimated price based on various factors.

{/* Environmental Factors Cards */}
Flood Factor
Moderate
Air Factor
Bad
{/* Chat With AI Card */} Chat With AI

Want to ask specific question?

); }