From 75c50fbce61fcd54295ea4347ebf516990b583ee Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 13 Apr 2022 10:40:26 +0800
Subject: [PATCH] 图片更换等,逻辑修改

---
 src/components/map/index.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/components/map/index.vue b/src/components/map/index.vue
index be40e6c..d87d089 100644
--- a/src/components/map/index.vue
+++ b/src/components/map/index.vue
@@ -236,9 +236,14 @@
             global.viewer = new global.DC.Viewer('viewer-container', {
                 contextOptions: {
                     webgl: {
+                        alpha: true,
                         stencil: true,
                         preserveDrawingBuffer: true
                     }
+                }
+            }).setOptions({
+                globe: {
+                    baseColor: new global.DC.Color(1, 1, 1, 1)
                 }
             })
 
@@ -266,7 +271,7 @@
 
             // chartLayer.setOption(that.busPathsInit())
 
-            // global.viewer.scene.backgroundColor = global.DC.Namespace.Cesium.Color.fromBytes(245, 244, 238)
+            // global.viewer.scene.backgroundColor = global.DC.Namespace.Cesium.Color.fromBytes(255, 255, 255)
 
             // global.viewer.use(new global.DC.Weather())
             // global.viewer.weather.cloud.enable = true

--
Gitblit v1.9.3