智慧园区前端大屏
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!--
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-10-25 15:07:51
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-10-28 16:42:35
 * @FilePath: \bigScreen\src\components\global\MapContainer.vue
 * @Description: 
 * 
 * Copyright (c) 2024 by shuishen, All Rights Reserved. 
-->
<template>
  <div class="viewer-container" id="viewer-container">
    <div class="content">
      <slot name="content"></slot>
    </div>
  </div>
</template>
 
<script setup>
import { readyViewer } from 'hooks/initMap'
import { onMounted } from 'vue'
 
readyViewer()
</script>
 
<script>
export default {
  name: 'MapContainer'
}
</script>
 
<style lang="scss" scoped>
.viewer-container {
  position: absolute;
  width: 100%;
  height: 100%;
}
</style>