吉安感知网项目-前端
罗广辉
2026-04-01 25e7b04012382b78120c400dcd907efc4dc01553
feat: 修改地形地址
7 files modified
27 ■■■■■ changed files
applications/drone-command/env/.env 6 ●●●● patch | view | raw | blame | history
applications/drone-command/src/utils/cesium/publicCesium.js 4 ●●●● patch | view | raw | blame | history
applications/task-work-order/env/.env 7 ●●●● patch | view | raw | blame | history
applications/task-work-order/env/.env.development 3 ●●●●● patch | view | raw | blame | history
applications/task-work-order/env/.env.production 2 ●●●●● patch | view | raw | blame | history
applications/task-work-order/env/.env.test 3 ●●●●● patch | view | raw | blame | history
applications/task-work-order/src/utils/cesium/publicCesium.js 2 ●●● patch | view | raw | blame | history
applications/drone-command/env/.env
@@ -13,8 +13,8 @@
# 是否在打包时开启压缩,支持 gzip 和 brotli
VITE_BUILD_COMPRESS=gzip
VITE_APP_TERRAIN_URL=https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ztzf_c_uas/
#地形
VITE_APP_TERRAIN_URL=http://220.177.172.27:8100/ztzf_terrain/
#父系统
VITE_APP_PARENT_SYSTEM=http://219.146.74.42:8015/drone-web
VITE_APP_PARENT_SYSTEM=http://220.177.172.27:8100/drone-web
applications/drone-command/src/utils/cesium/publicCesium.js
@@ -171,7 +171,7 @@
        this.viewer.scene.screenSpaceCameraController.maximumZoomDistance = 4500000
        this.switchLayers(layerMode)
        this.switchFlatMode(flatMode)
        if (Cesium.FeatureDetection.supportsImageRenderingPixelated()) {
            let dpr = window.devicePixelRatio
            while (dpr >= 2.0) dpr /= 2.0 // 避免过高缩放导致模糊
@@ -187,7 +187,7 @@
        if (this.terrainProvider) return this.terrainProvider
        if (this.terrainLoading) return this.terrainLoading
        this.terrainLoading = Cesium.CesiumTerrainProvider.fromUrl(
            `${import.meta.env.VITE_APP_TERRAIN_URL}ja_terrain`,
            `${import.meta.env.VITE_APP_TERRAIN_URL}/360000`,
            {
                requestVertexNormals: true, // 启用地形法线增强立体感
                requestWaterMask: true, // 启用水体遮罩效果
applications/task-work-order/env/.env
@@ -26,7 +26,10 @@
VITE_APP_PREVIEW_URL=http://218.202.104.82:8012
#地形服务地址
VITE_APP_TERRAIN_URL=https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ztzf_c_uas/
VITE_APP_TERRAIN_URL=http://220.177.172.27:8100/ztzf_terrain/
# 行政区划存放地址
VITE_APP_REGION_URL=http://220.177.172.27:8100/ztzf_region
#父系统
VITE_APP_PARENT_SYSTEM=http://219.146.74.42:8015/drone-web
VITE_APP_PARENT_SYSTEM=http://220.177.172.27:8100/drone-web
applications/task-work-order/env/.env.development
@@ -9,6 +9,3 @@
# ws地址
VITE_APP_WS_API_URL=wss://wrj.shuixiongit.com/drone-wss/api/v1/ws
# 行政区划存放地址
VITE_APP_REGION_URL=https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ztzf_region
applications/task-work-order/env/.env.production
@@ -7,5 +7,3 @@
# ws地址
VITE_APP_WS_API_URL=wss://aisky.org.cn/drone-wss/api/v1/ws
# 行政区划存放地址
VITE_APP_REGION_URL=https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ztzf_region
applications/task-work-order/env/.env.test
@@ -6,6 +6,3 @@
# ws地址
VITE_APP_WS_API_URL=wss://wrj.shuixiongit.com/drone-wss/api/v1/ws
# 行政区划存放地址
VITE_APP_REGION_URL=https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ztzf_region
applications/task-work-order/src/utils/cesium/publicCesium.js
@@ -164,7 +164,7 @@
        if (this.terrainProvider) return this.terrainProvider
        if (this.terrainLoading) return this.terrainLoading
        this.terrainLoading = Cesium.CesiumTerrainProvider.fromUrl(
            `${import.meta.env.VITE_APP_TERRAIN_URL}ja_terrain`,
            `${import.meta.env.VITE_APP_TERRAIN_URL}/360000`,
            {
                requestVertexNormals: true, // 启用地形法线增强立体感
                requestWaterMask: true, // 启用水体遮罩效果