From 8f5b493fa963a056888c89fa8b7f32fa980510e3 Mon Sep 17 00:00:00 2001
From: zhaoxing <zhaoxing@shsening.com>
Date: 星期五, 21 十月 2022 18:23:24 +0800
Subject: [PATCH] 轨迹查询/图层显示/撒点高度等

---
 widgetsTS/taxiRouteReplay/widget.js |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/widgetsTS/taxiRouteReplay/widget.js b/widgetsTS/taxiRouteReplay/widget.js
index ef35981..6f7cdce 100644
--- a/widgetsTS/taxiRouteReplay/widget.js
+++ b/widgetsTS/taxiRouteReplay/widget.js
@@ -14,9 +14,9 @@
  
     reloadData(new_taxi_sn) {
       console.log(new_taxi_sn,"reload")
-      this.taxi_sn = new_taxi_sn;
-      this.viewWindow.resetStartQueryTaxiDataText(this.taxi_sn);
       
+      this.viewWindow.resetStartQueryTaxiDataText(new_taxi_sn);
+      this.taxi_sn = new_taxi_sn;
  
       if (this.startGraphic) {
         this.startGraphic.remove();
@@ -143,7 +143,6 @@
           }
           item = changeNullAndundefinedToEmpty(item)
           let color_value = this.viewWindow.getLayerPointColorByQindexandValue(1004,this.qindex, item[this.qindex]);
-          console.log(item,"璺嚎item",item[this.qindex],this.viewWindow.getLayerPointColorByQindexandValue(1004,this.qindex, item[this.qindex]))
           //points[Pointsdata.length] = [lon,lat]
           var CorridorPrimitive = new mars3d.graphic.CorridorEntity({
             positions: [position,position2],
@@ -153,7 +152,7 @@
 		      height: 0,
 		      cornerType: Cesium.CornerType.BEVELED,
               // radius: 8.0,
-              diffHeight: this.qindex == "co" ? 300 * item[this.qindex] :  item[this.qindex]  || item[this.qindex] == "/" ? 500 : item[this.qindex], //楂樺害
+              diffHeight: this.qindex == "co" ? 100 * item[this.qindex] :  10*item[this.qindex], //楂樺害
               color:color_value,
               opacity: 1,
               // rotationDegree: 45,

--
Gitblit v1.9.1