Ver Fonte

更新船舶轨迹清除方法

sbj há 1 ano atrás
pai
commit
6237b0fa98
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/utils/map/Boat.js

+ 1 - 1
src/utils/map/Boat.js

@@ -152,5 +152,5 @@ export function playBoatHistoryPath(type) {
  * 清除船舶轨迹
  */
 export function clearBoatHistoryPath(){
-    clearMap({is_draw: false, is_search:true, layers: ['boatPathLayer']})
+    clearMap({is_draw: false, is_search: false, layers: ['boatLayer','boatPathLayer','tempLayer']})
 }