"use client" import { Button } from "@/app/_components/ui/button" import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/app/_components/ui/tooltip" import { Clock, AlertTriangle, Users, Building, Skull, } from "lucide-react" import { Overlay } from "../overlay" import { ControlPosition } from "mapbox-gl" import { IconBriefcaseOff, IconCategory, IconCategoryFilled } from "@tabler/icons-react" interface MapMenusProps { onControlChange: (control: string) => void activeControl: string position: ControlPosition } export default function MapMenus({ onControlChange, activeControl, position = "top-left" }: MapMenusProps) { const menus = [ { id: "crime-rate", icon: , label: "Crime Rate" }, { id: "population", icon: , label: "Population" }, { id: "unemployment", icon: , label: "Unemployment" }, { id: "alerts", icon: , label: "Alerts" }, { id: "time", icon: , label: "Time Analysis" }, { id: "unit", icon: , label: "Unit" }, { id: "category", icon: , label: "Category" }, ] return (
{menus.map((control) => (

{control.label}

))}
) }