import { Card } from "@heroui/react" import { createFileRoute } from "@tanstack/react-router" import { Drone } from "lucide-react" import { useState } from "react" import { Map as MapComponent, MapMarker, type MapViewport, MarkerContent, MarkerPopup, MarkerTooltip } from "@/components/maps/map" export const Route = createFileRoute("/_auth/dashboard")({ component: RouteComponent }) function RouteComponent() { const locations = [ { id: 1, name: "Location 1", lat: 40.76, lng: -73.98 }, { id: 2, name: "Location 2", lat: 40.77, lng: -73.99 }, { id: 3, name: "Location 3", lat: 40.5874827, lng: -1.7925343 } ] const [viewport, setViewport] = useState({ center: [40.5874827, -1.7925343], zoom: 8, bearing: 0, pitch: 0 }) return (
{locations.map((location) => ( {/* Prueba para ssl */} {location.name}

{location.name}

{location.lat.toFixed(4)}, {location.lng.toFixed(4)}

))}
) }