| | |
| | | import { ref, onMounted, watch } from "vue"; |
| | | import { createPoint } from "@/utils/map"; |
| | | import { useSimStore } from "@/store/simulation"; |
| | | import { initeWaterPrimitiveView } from "@/utils/water"; //相机flyTo函数,后续options列表中有对应经纬度后弃用 |
| | | |
| | | const simStore = useSimStore(); |
| | | |
| | |
| | | ); |
| | | |
| | | onMounted(() => { |
| | | initeWaterPrimitiveView(); |
| | | // 默认先检查一遍数据 |
| | | if (simStore.DangerPoint && simStore.DangerPoint.length > 0) { |
| | | filterDataByArea("孙胡沟"); |
| | |
| | | left: 0px; |
| | | right: 0px; |
| | | bottom: 10px; |
| | | background-color: rgba(236, 233, 233, 0.5); /* 半透明遮罩 */ |
| | | background-color: rgba(43, 43, 43, 0.5); |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |