forked from Ivasoft/geovisio-website
20 lines
348 B
Vue
20 lines
348 B
Vue
<template>
|
|
<div id="viewer"></div>
|
|
</template>
|
|
<script lang="ts" setup>
|
|
import { onMounted } from "vue";
|
|
import Viewer from "../lib/Viewer.js";
|
|
const onloadImg = () => {
|
|
new Viewer("viewer", import.meta.env.VITE_API_URL, {
|
|
map: {
|
|
startWide: true,
|
|
},
|
|
});
|
|
};
|
|
|
|
onMounted(() => {
|
|
onloadImg();
|
|
});
|
|
</script>
|
|
<style scoped></style>
|