cshenfu
2022-10-28 cdd61fe225ec02defd5707acbc5727fcadb9c7e8
widgetsTS/taxiRouteReplay2/widget.js
@@ -14,7 +14,6 @@
    }
 
    reloadData(new_taxi_sn) {
      console.log(new_taxi_sn,"reload")
      
      this.viewWindow.resetStartQueryTaxiDataText(new_taxi_sn);
      this.taxi_sn = new_taxi_sn;
@@ -78,7 +77,6 @@
          position2 = Cesium.Cartesian3.fromDegrees(lng2, lat2);
        }
        item = changeNullAndundefinedToEmpty(item)
        // console.log(item,"路线item",item[this.qindex])
      let graphic = new mars3d.graphic.PolylineEntity({
        positions: [position,position2],
        style: {
@@ -220,8 +218,6 @@
    //每个窗口创建完成后调用
    winCreateOK(opt, result) {
      this.viewWindow = result;
      console.log(this)
      console.log(this.config.params,"this.taxi_sn")
      this.appDateHourStart = mars3d.global_variables.queryDataTStartTaxi;
      this.appDateHourEnd = mars3d.global_variables.queryDataTEnd;
      this.nodejs_url_predix = mars3d.global_variables.nodejs_url_predix;
@@ -231,7 +227,6 @@
    }
    //打开激活
    activate() {
      console.log(this,"this.map")
      this.map.addLayer(this.groupLayer);
      this.map.clock.shouldAnimate = false;
      this.old_map_clock_startTime = this.map.clock.startTime;
@@ -288,7 +283,6 @@
      this.map.clock.currentTime = Cesium.JulianDate.fromDate(new Date(this.appDateHourStart));
      this.map.clock.stopTime = Cesium.JulianDate.fromDate(new Date(this.appDateHourEnd));
      this.map.clock.multiplier = 2.0;
      console.log(this.map._layerCache["1004"].options.show,"taxi_layer.shouw")
 
    }
    //============开始视角跟随=============