nidus-sync/ts/components/FlyoverPoolCard.vue

34 lines
842 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 && session.urls">
<MapProxiedArcgisTile
:location="location"
:markers="markers"
:organizationId="session.organization.id"
:tegola="session.urls!.tegola"
:urlTiles="session.urls!.tile"
v-model="cameraFlyover"
/>
</div>
<div v-else>
<p>Loading...</p>
</div>
2026-03-24 09:51:05 -07:00
</template>
<script setup lang="ts">
import { ref } from "vue";
2026-03-24 09:51:05 -07:00
import MapProxiedArcgisTile from "@/components/MapProxiedArcgisTile.vue";
import { useSessionStore } from "@/store/session";
import { Marker } from "@/types";
import { Location } from "@/type/api";
import { Camera } from "@/type/map";
2026-03-25 21:45:13 -07:00
interface Props {
location: Location;
markers: Marker[];
2026-03-25 21:45:13 -07:00
}
const cameraFlyover = ref<Camera>(new Camera());
2026-03-25 21:45:13 -07:00
const props = defineProps<Props>();
const session = useSessionStore();
2026-03-24 09:51:05 -07:00
</script>