<template>
  <div id="cesiumContainer" class="cesium-container"> </div>
  <button @click="viewTrack" class="btn-class">viewTrack</button>

</template>
<script setup>
import { onMounted } from 'vue';
import { addViewTrack, viewTrack } from './function';
onMounted(() => {
    addViewTrack()
});
</script>

<style>
.cesium-container {
width: 100%;
height: 100vh;
}
.btn-class {
  position: absolute;
  top: 10px;
  left: 10px;
}
</style>