From 1ac8e27dc8a227d8fc4a9b73a9f241abcae3af2a Mon Sep 17 00:00:00 2001
From: qinbo <qinbo@shsening.com>
Date: 星期三, 12 一月 2022 14:31:27 +0800
Subject: [PATCH] 添加移动车辆15分钟控件

---
 js/function_1004.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/js/function_1004.js b/js/function_1004.js
index 73237a9..f448def 100644
--- a/js/function_1004.js
+++ b/js/function_1004.js
@@ -46,8 +46,8 @@
 
 function setTaxiLayerMapClock() {
   map.clock.shouldAnimate = true;
-  map.clock.startTime = Cesium.JulianDate.fromDate(new Date(mars3d.global_variables.queryDataTStart));
-  map.clock.currentTime = Cesium.JulianDate.fromDate(new Date(mars3d.global_variables.queryDataTStart));
+  map.clock.startTime = Cesium.JulianDate.fromDate(new Date(mars3d.global_variables.queryDataTStartTaxi));
+  map.clock.currentTime = Cesium.JulianDate.fromDate(new Date(mars3d.global_variables.queryDataTStartTaxi));
   map.clock.stopTime = Cesium.JulianDate.fromDate(new Date(mars3d.global_variables.queryDataTEnd));
   map.clock.multiplier = 2.0;
   map.clock.clockRange = Cesium.ClockRange.LOOP_STOP;
@@ -175,7 +175,7 @@
 function getTaxiPathFromServerbySN(taxi_mn, target_layer) {
 
   $.getJSON(mars3d.global_variables.nodejs_url_predix + "dataapi/Bdata?bid=get_1004_single_path&siteid=" + taxi_mn["code"], {
-    datatime1: mars3d.global_variables.queryDataTStart,
+    datatime1: mars3d.global_variables.queryDataTStartTaxi,
     datatime2: mars3d.global_variables.queryDataTEnd
   }, (result) => {
 

--
Gitblit v1.9.1