import L from "leaflet"; import { Marker, Tooltip } from "react-leaflet"; import type { Poi } from "~/lib/pois"; import type { PoiCategory } from "@trails-cool/map-core"; interface NearbyPoiMarkersProps { pois: Poi[]; categories: PoiCategory[]; onSnap: (poi: Poi) => void; } function nearbyPoiIcon(color: string, icon: string): L.DivIcon { return L.divIcon({ className: "", html: `