| | |
| | | import { analyzeKmzFile, XMLToJSON } from './kmz' |
| | | import { getCenterPoint, getLnglatDist, getShortestDistance } from './mapUtil' |
| | | import { Cartesian3, Terrain, Viewer } from 'cesium' |
| | | import { imageryProvider_stand, imageryProvider_standZh } from '@/utils/cesium/cesiumLayer' |
| | | |
| | | // 图斑航线计算 |
| | | export const polygonRoutePlanning = (polygonList, startPostion) => { |
| | |
| | | * cesium添加蓝色滤镜 |
| | | * @param options |
| | | * @param viewer |
| | | * @param layer |
| | | * @param isUse |
| | | */ |
| | | export const addBlueFilter = (options, viewer, isUse = true) => { |
| | | const { bInvertColor, bFilterColor, filterColor } = options |
| | |
| | | fragShader[i] = fragShader[i].replace(strT, strS) |
| | | } |
| | | } |
| | | } |
| | | } |