| | |
| | | </div> |
| | | <div class="graph-right"> |
| | | <div v-for="(event, index) in item.eventList" :key="index" class="s-event-icon"> |
| | | <img :src="event.icon" alt="icon" /> |
| | | <a-tooltip placement="top"> |
| | | <template #title> |
| | | {{ event.name }} |
| | | </template> |
| | | <img :src="event.icon" alt="icon" /> |
| | | </a-tooltip> |
| | | </div> |
| | | </div> |
| | | </li> |
| | |
| | | import { getRoot } from '/@/root' |
| | | import * as Cesium from 'cesium' |
| | | import { cesiumOperation } from '/@/hooks/use-cesium-tsa' |
| | | import { gcj02towgs84, wgs84togcj02 } from '/@/vendors/coordtransform' |
| | | import axios from 'axios' |
| | | import JSZIP from 'jszip' |
| | | // 初始化jszip |
| | |
| | | const isPointListOpen = ref<boolean>(false) |
| | | const tragetPointArr = ref<{ |
| | | position: Cesium.Cartesian3, |
| | | eventList: string[] |
| | | eventList: any[] |
| | | }[]>([]) |
| | | const selectedPoint = ref<number | null>(null) |
| | | |
| | |
| | | }, |
| | | { |
| | | key: 'gimbalRotate', |
| | | name: '旋转云台' |
| | | name: '旋转云台', |
| | | icon: getResource('waylinetool/holderyaw.png'), |
| | | }, |
| | | { |
| | | key: 'rotateYaw', |
| | |
| | | }, 1000) |
| | | console.log(workspaceId.value) |
| | | }) |
| | | |
| | | onUnmounted(() => { |
| | | if (kmlDataSource) { |
| | | global.$viewer.dataSources.remove(kmlDataSource) |
| | |
| | | store.commit('SET_WAYLINE_INFO', { |
| | | isShow: true, |
| | | wayline: currentWayLine, |
| | | position: position |
| | | position: index |
| | | }) |
| | | if (getEntityById('clickBox')) { |
| | | removeById('clickBox') |