From e9ab53b5bcb031ac7e6b1dcb596eb7d21ff8d1ad Mon Sep 17 00:00:00 2001
From: cshenfu <men883234@gmail.com>
Date: 星期四, 03 十一月 2022 09:26:42 +0800
Subject: [PATCH] 修改汽车图层接口

---
 js/function_1004.js |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/js/function_1004.js b/js/function_1004.js
index f134e23..17536b9 100644
--- a/js/function_1004.js
+++ b/js/function_1004.js
@@ -64,9 +64,7 @@
       mars3d.global_variables.singleTaxiReplayData
       var current_date = new Date(Cesium.JulianDate.toDate(event._currentTime));
       if (current_date.getSeconds() != last_time_second) {
-        console.log("current_data != ")
         last_time_second = current_date.getSeconds();
-        console.log(current_date,"current_data  data")
         changeTaxiLayerStyleAndAttr_Single(getFormattedDateTime(current_date));
       }
     } else if (map.getLayerById(1004).options.show) {
@@ -150,7 +148,6 @@
   }
   tmpattr = getTaxiAttrFromTimeListData(current_date, mars3d.global_variables.singleTaxiReplayData);
   if (tmpattr && tmpattr != null) {
-    console.log("杩涘叆绗簩涓猧f")
     let tmpTaxiColor = getLayerPointColorByQindexandValue(1004, taxi_qindex, tmpattr[taxi_qindex]);
     let tmpTaxigltfurl = "gltf/" + (tmpattr["code"]).substring(0, 2) + tmpTaxiColor.substring(1) + ".gltf";
     single_taxi.setOptions({
@@ -221,7 +218,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"], {
+  $.getJSON(mars3d.global_variables.nodejs_url_predix + "dataapi/Bdata?bid=get_1004_real&siteid=" + taxi_mn["code"], {
     datatime1: mars3d.global_variables.queryDataTStartTaxi,
     datatime2: mars3d.global_variables.queryDataTEnd
   }, (result) => {

--
Gitblit v1.9.1