cshenfu
2022-10-27 f8e31845b1d8f2649b5bfd771240790858fec11c
两个轨迹查询冲突
6个文件已修改
10 ■■■■■ 已修改文件
js/function_1004.js 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
widgetsTS/taxiRouteReplay/view.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
widgetsTS/taxiRouteReplay/widget.js 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
widgetsTS/taxiRouteReplay2/view.js 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
widgetsTS/taxiRouteReplay2/widget.js 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
widgetsTS/taxi_layer_setting/widget.js 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
js/function_1004.js
@@ -161,7 +161,9 @@
    // refresh Taxi Replay Detail table:
    // assum that detailed widget is active;
    let taxiReplayWiget = mars3d.widget.getClass("widgetsTS/taxiRouteReplay/widget.js");
    taxiReplayWiget.refreshDetailTable(tmpattr);
    let taxiReplayWiget2 = mars3d.widget.getClass("widgetsTS/taxiRouteReplay2/widget.js");
    let taxiReplayWiget_end = taxiReplayWiget2 == undefined?taxiReplayWiget:taxiReplayWiget2;
    taxiReplayWiget_end.refreshDetailTable(tmpattr);
  }
widgetsTS/taxiRouteReplay/view.js
@@ -52,7 +52,6 @@
  //开始查询轨迹
  $("#startQueryTaxiData").click(function () {
    console.log(thisWidget.taxi_sn,"汽车编号")
    haoutil.loading.show();
    thisWidget.appDateHourStart = $("#appDateHourStart").val()
    thisWidget.appDateHourEnd = $("#appDateHourEnd").val()
@@ -66,7 +65,6 @@
      datatime1: thisWidget.appDateHourStart,
      datatime2: thisWidget.appDateHourEnd
    }, (result) => {
      console.log(result,"result")
      haoutil.loading.hide();
      thisWidget.clearReplayLayers();
      if (result.data.result.length > 0) {
widgetsTS/taxiRouteReplay/widget.js
@@ -30,6 +30,7 @@
    }
 
    clearReplayLayers() {
      console.log(this,"this")
      this.pointLayer.clear();
      this.routeLayer.clear();
    }
widgetsTS/taxiRouteReplay2/view.js
@@ -66,7 +66,6 @@
      datatime1: thisWidget.appDateHourStart,
      datatime2: thisWidget.appDateHourEnd
    }, (result) => {
      console.log(result,"result")
      haoutil.loading.hide();
      thisWidget.clearReplayLayers();
      if (result.data.result.length > 0) {
widgetsTS/taxiRouteReplay2/widget.js
@@ -288,6 +288,7 @@
      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")
 
    }
    //============开始视角跟随=============
widgetsTS/taxi_layer_setting/widget.js
@@ -15,6 +15,7 @@
    }
    //打开激活
    activate() {
      console.log(map,"mapmapmap")
      map.viewer.animation.container.style.display = "block";
    }
    //关闭释放