'use client'; import { Info } from 'lucide-react'; import * as React from 'react'; interface OsmMapLegendProps { includeOsmRaw: boolean; onToggleOsmRaw: (value: boolean) => void; /** Smaller variant for the split-view sidebar. */ compact?: boolean; } /** * Legend + toggle that sits above the bbox map. Explains the two marker * colors (curated vs raw OSM) and lets the user opt into showing the * un-reviewed OpenStreetMap imports. */ export function OsmMapLegend({ includeOsmRaw, onToggleOsmRaw, compact = false, }: OsmMapLegendProps) { return (