From cdd61fe225ec02defd5707acbc5727fcadb9c7e8 Mon Sep 17 00:00:00 2001
From: cshenfu <men883234@gmail.com>
Date: 星期五, 28 十月 2022 16:20:31 +0800
Subject: [PATCH] 更改小时和天日历选择bug
---
js/function_1004.js | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/js/function_1004.js b/js/function_1004.js
index f4686b6..b509c80 100644
--- a/js/function_1004.js
+++ b/js/function_1004.js
@@ -29,7 +29,6 @@
taxi_layer.on(mars3d.EventType.click, function (event) {
console.log("鐩戝惉layer锛屽崟鍑讳簡鐭㈤噺瀵硅薄", event);
var item = event.graphic?.attr;
- //console.log(item);
});
taxi_layer.bindPopup(bindPopupFunction);
@@ -50,14 +49,13 @@
}
function setTaxiLayerMapClock() {
- console.log(mars3d.global_variables.queryDataTStartTaxi,mars3d.global_variables.queryDataTEnd,"鏃堕棿")
+
map.clock.shouldAnimate = true;
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;
-
var last_time_second = 0;
@@ -246,10 +244,8 @@
polygon_Points = result2.features[0].geometry.coordinates[0][0]
for (var i = 0, len = result.data.result.length; i < len; i++) {
let item = result.data.result[i];
- console.log(item.lon,item.lat,polygon_Points)
let isIn = isInPolygon([item.lon,item.lat],polygon_Points)
if(isIn){
- console.log("杩涙潵浜�")
tmpPositionProperty.addSample(Cesium.JulianDate.fromDate(new Date(item["datatime"])), Cesium.Cartesian3.fromDegrees(item["lon"], item["lat"], 0.2))
}
// mpPositionProperty.addSample(Cesium.JulianDate.fromDate(new Date(item["datatime"])), Cesium.Cartesian3.fromDegrees(item["lon"], item["lat"], 0.2))
--
Gitblit v1.9.1