zhaoxing
2022-10-21 8f5b493fa963a056888c89fa8b7f32fa980510e3
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,