无人机管理后台前端(已迁走)
张含笑
2025-08-14 41b8a8d0ecea96ace27b5afb9ce63b4193420c49
src/utils/cesium/common.js
@@ -13,7 +13,6 @@
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) => {
@@ -164,7 +163,7 @@
 * cesium添加蓝色滤镜
 * @param options
 * @param viewer
 * @param layer
 * @param isUse
 */
export const addBlueFilter = (options, viewer, isUse = true) => {
   const { bInvertColor, bFilterColor, filterColor } = options
@@ -201,4 +200,4 @@
         fragShader[i] = fragShader[i].replace(strT, strS)
      }
   }
}
}