Modulo makers3d desarrollado con codex V 0.0.1

This commit is contained in:
Ryuk Mike
2026-07-29 23:58:58 +02:00
commit 2bedf7cbb7
171 changed files with 29421 additions and 0 deletions
@@ -0,0 +1,49 @@
"use client";
import dynamic from "next/dynamic";
export type DiscoverMapMarker = {
id: string;
slug: string;
businessName: string;
city: string;
province: string;
latitude: number;
longitude: number;
};
const InteractiveDiscoverMap = dynamic(
() => import("./InteractiveDiscoverMap"),
{
ssr: false,
loading: () => (
<section className="discover-map-stage">
<div className="discover-map-loading">Cargando mapa real...</div>
</section>
)
}
);
export default function InteractiveDiscoverMapClient({
markers,
selectedMarkerId,
onSelectMarker,
onApplyVisibleArea,
focusRequest
}: {
markers: DiscoverMapMarker[];
selectedMarkerId?: string;
onSelectMarker: (makerId: string) => void;
onApplyVisibleArea: (makerIds: string[]) => void;
focusRequest: number;
}) {
return (
<InteractiveDiscoverMap
markers={markers}
selectedMarkerId={selectedMarkerId}
onSelectMarker={onSelectMarker}
onApplyVisibleArea={onApplyVisibleArea}
focusRequest={focusRequest}
/>
);
}