使用地图组件
parent
d8c9935e13
commit
8290f375cc
@ -1,22 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div id="mapContainer" class="mars3d-container"></div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script setup lang="ts">
|
|
||||||
import { onMounted, onBeforeUnmount, ref } from 'vue'
|
|
||||||
import * as mars3d from 'mars3d'
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
onMounted(() => {
|
|
||||||
|
|
||||||
})
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
.mars3d-container {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
background-color: rgba(255, 255, 255, 1);
|
|
||||||
}
|
|
||||||
</style>
|
|
Loading…
Reference in New Issue