From 8a22c9bb675e14ebf2e5ba78e1a7b9cd101cccce Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 29 Apr 2025 10:44:02 +0800
Subject: [PATCH] 智飞工单审核详情显示
---
src/components/map-container/mapContainer.vue | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/src/components/map-container/mapContainer.vue b/src/components/map-container/mapContainer.vue
index f70b6db..5cae64e 100644
--- a/src/components/map-container/mapContainer.vue
+++ b/src/components/map-container/mapContainer.vue
@@ -2,7 +2,7 @@
* @Author: shuishen 1109946754@qq.com
* @Date: 2024-10-25 15:07:51
* @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2025-04-24 22:12:05
+ * @LastEditTime: 2025-04-28 11:34:40
* @FilePath: \drone-web-manage\src\components\map-container\mapContainer.vue
* @Description:
*
@@ -67,8 +67,13 @@
credit: 'stand_tc',
})
- window.$viewer = new DC.Viewer('viewer-container')
+ window.$viewer = new DC.Viewer('viewer-container', {
+ "sceneMode": 2 //1: 2.5D,2: 2D,3: 3D
+ })
+
window.$viewer.locationBar.enable = false
+
+ window.$viewer?.zoomToPosition(new DC.Position(115.892151, 28.676493, 1000000, 0, -90, 0))
window.$viewer?.imageryLayers.addImageryProvider(imageryProvider_stand)
window.$viewer?.imageryLayers.addImageryProvider(imageryProvider_standZh)
@@ -135,10 +140,10 @@
let polyline = new DC.Polyline(positionStr)
polyline.setStyle({
- width: 20,
- material: new DC.PolylineLightingTrailMaterialProperty({
- color: DC.Color.BLUE,
- speed: 5.0
+ width: 4,
+ material: new DC.PolylineTrailMaterialProperty({
+ color: DC.Color.DEEPSKYBLUE,
+ speed: 10
}),
clampToGround: true
})
--
Gitblit v1.9.3