From 7b08b44e307d05c18d60687f039aaa196f75a745 Mon Sep 17 00:00:00 2001
From: qinbo <qinbo@shsening.com>
Date: 星期二, 07 十二月 2021 16:00:31 +0800
Subject: [PATCH] bug fix
---
widgetsTS/widget_search/widget.js | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/widgetsTS/widget_search/widget.js b/widgetsTS/widget_search/widget.js
index df29082..f91e8e0 100644
--- a/widgetsTS/widget_search/widget.js
+++ b/widgetsTS/widget_search/widget.js
@@ -129,9 +129,9 @@
color: this.winPage.getLayerPointColorByQindexandValue(layerid, qindex, attr[qindex]),
alphaPower: 1.5,
//楂樹寒鏃剁殑鏍峰紡锛堥粯璁や负榧犳爣绉诲叆锛屼篃鍙互鎸囧畾type:'click'鍗曞嚮楂樹寒锛夛紝鏋勯�犲悗涔熷彲浠penHighlight銆乧loseHighlight鏂规硶鏉ユ墜鍔ㄨ皟鐢�
- highlight: {
- color: "#ff0000",
- },
+ // highlight: {
+ // color: "#ff0000",
+ // },
},
attr: attr
});
@@ -143,9 +143,9 @@
var circleDiffuseWallGlow = new mars3d.graphic.DiffuseWall({
position: Cesium.Cartesian3.fromDegrees(attr["lon"], attr["lat"], 20), //鍦嗕腑蹇冪偣
style: {
- diffHeight: qindex == "co" ? 10 * attr[qindex] : attr[qindex], //楂樺害
+ diffHeight: qindex == "co" ? 10 * attr[qindex] : attr[qindex] || attr[qindex] == "/" ? 800 : attr[qindex], //楂樺害
radius: 200, //鍗婂緞
- color: this.winPage.getLayerPointColorByQindexandValue(layerid, qindex, attr[qindex]),
+ color: this.winPage.getLayerPointColorByQindexandValue(layerid, qindex, attr[qindex] || "#C0C0C0"),
speed: 10, //閫熷害
},
attr: attr
@@ -158,12 +158,12 @@
positions: positions,
style: {
closure: true,
- diffHeight: qindex == "co" ? 10 * attr[qindex] : attr[qindex], //楂樺害
+ diffHeight: qindex == "co" ? 10 * attr[qindex] : attr[qindex] || attr[qindex] == "/" ? 500 : attr[qindex], //楂樺害
material: mars3d.MaterialUtil.createMaterial(mars3d.MaterialType.LineFlow, {
//鍔ㄧ敾绾挎潗璐�
image: "img/textures/fence.png",
axisY: true,
- color: this.winPage.getLayerPointColorByQindexandValue(layerid, qindex, attr[qindex]),
+ color: this.winPage.getLayerPointColorByQindexandValue(layerid, qindex, attr[qindex] || "#C0C0C0"),
speed: 10, //閫熷害锛屽缓璁彇鍊艰寖鍥�1-100
}),
},
--
Gitblit v1.9.1