diff --git a/src/components/SpotMap.tsx b/src/components/SpotMap.tsx index de68094..3bf49b3 100644 --- a/src/components/SpotMap.tsx +++ b/src/components/SpotMap.tsx @@ -6,7 +6,7 @@ import { useNavigate } from 'react-router-dom'; import { Badge } from '@/components/ui/badge'; import { Button } from '@/components/ui/button'; import { MapPin } from 'lucide-react'; -import type { SkateSpot, MarketplaceItem, SkateTour } from '@/lib/types'; +import type { SkateSpot, MarketplaceItem, SkateTour, SkateEvent } from '@/lib/types'; import { SPOT_TYPE_LABELS, formatPrice } from '@/lib/types'; import type { SpotWeatherData } from '@/hooks/useSpotWeather'; import type { BtcMapPlace } from '@/hooks/useBtcMapPlaces'; @@ -209,6 +209,32 @@ const createTourIcon = () => L.divIcon({ popupAnchor: [0, -40], }); +// Custom event marker icon (lime β matches the Events section + Add Event action) +const createEventIcon = () => L.divIcon({ + className: 'event-marker', + html: ` +
UPCOMING EVENT
+