| | |
| | | satelliteProxy.gridPrepare(gridInfo); |
| | | } |
| | | |
| | | // 绘制网格遥感数据值和网格颜色 |
| | | function drawGrid(gridDataDetail) { |
| | | satelliteProxy.drawGrid({ gridDataDetail, opacity: 1, zIndex: 11 }); |
| | | } |
| | | |
| | | // watch(mission, (nV, oV) => { |
| | | // if (nV != oV) { |
| | | // checkUnderwayFusionResult(); |
| | |
| | | } |
| | | }); |
| | | |
| | | let selectedGridDataDetail; |
| | | // 叠加融合 |
| | | // function handleFusionClick() { |
| | | // // resetButton(); |
| | | // const d = fusionData.value; |
| | | // if (gridDataDetailMap.has(d.id)) { |
| | | // selectedGridDataDetail = gridDataDetailMap.get(d.id); |
| | | // // selectedGridData = gridData; |
| | | // drawGrid(selectedGridDataDetail); |
| | | // } else { |
| | | // gridApi.fetchGridDataDetail(d.id, d.groupId).then((res) => { |
| | | // gridDataDetailMap.set(d.id, res.data); |
| | | // selectedGridDataDetail = res.data; |
| | | // // selectedGridData = gridData; |
| | | // drawGrid(selectedGridDataDetail); |
| | | // }); |
| | | // } |
| | | // } |
| | | function handleFusionClick() { |
| | | // resetButton(); |
| | | satelliteProxy.changeVisibility({ showGridViews: false }); |
| | | selectedfusionData.value.forEach((i) => { |
| | | const d = fusionDataList.value[i]; |
| | | if (gridDataDetailMap.has(d.id)) { |
| | | // const gdd = gridDataDetailMap.get(d.id); |
| | | // satelliteProxy.drawTagGrid({ |
| | | // tag: d.id, |
| | | // gridDataDetail: gdd, |
| | | // opacity: 1, |
| | | // zIndex: 11 |
| | | // }); |
| | | satelliteProxy.changeVisibility({ tag: d.id, showGridViews: true }); |
| | | } else { |
| | | gridApi.fetchGridDataDetail(d.id, d.groupId).then((res) => { |
| | |
| | | |
| | | function handleColorClick() { |
| | | isStandardColor.value = !isStandardColor.value; |
| | | // satelliteProxy.drawGrid({ |
| | | // gridDataDetail: selectedGridDataDetail, |
| | | // useCustomColor: !isStandardColor.value, |
| | | // opacity: 1, |
| | | // zIndex: 11 |
| | | // }); |
| | | selectedfusionData.value.forEach((i) => { |
| | | const d = fusionDataList.value[i]; |
| | | if (gridDataDetailMap.has(d.id)) { |