Browse Source

区域轨迹回放调整;

sbj 1 year ago
parent
commit
7a8c972a7e
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/utils/map/Boat.js

+ 7 - 0
src/utils/map/Boat.js

@@ -165,8 +165,15 @@ export function clearBoatHistoryPath(){
 
 export function drawArea(startTime,endTime,isShow){
     draw('polygon');
+    let drawResult = getDrawResult()
+    while (!drawResult){
+        drawResult = getDrawResult()
+    }
+    setMultiBoatHistory(startTime,endTime);
 }
 
+
+
 export function setMultiBoatHistory(startTime,endTime){
     let drawResult = getDrawResult()
     GetShipHistoryByArea({