nidus-sync/ts/components/FlyoverPoolCard.vue

30 lines
698 B
Vue
Raw Normal View History

2026-03-24 09:51:05 -07:00
<template>
<p>A flyover pool</p>
<div v-if="session.organization">
<MapProxiedArcgisTile
:location="location"
:markers="markers"
:organizationId="session.organization.id"
:tegola="session.urls?.tegola ?? ''"
:urlTiles="session.urls?.tile ?? ''"
/>
</div>
<div v-else>
<p>Loading...</p>
</div>
2026-03-24 09:51:05 -07:00
</template>
<script setup lang="ts">
import MapProxiedArcgisTile from "@/components/MapProxiedArcgisTile.vue";
import { Location } from "@/type/api";
import { Marker } from "@/types";
import { useSessionStore } from "@/store/session";
2026-03-25 21:45:13 -07:00
interface Props {
location: Location;
markers: Marker[];
2026-03-25 21:45:13 -07:00
}
const props = defineProps<Props>();
const session = useSessionStore();
2026-03-24 09:51:05 -07:00
</script>