优化 全屏功能
This commit is contained in:
@@ -839,19 +839,16 @@ export default function CesiumMap({ ifClear, ifClearPlanLine, ifClearNavLine, fi
|
||||
}
|
||||
return;
|
||||
}
|
||||
console.log(22222222222)
|
||||
|
||||
|
||||
|
||||
const point = { lng: finishPoint.lng, lat: finishPoint.lat };
|
||||
console.log(isNavigationModeRef.current, drawRealTime, 8888888888)
|
||||
|
||||
// 如果是定位模式且还没有导航模式,则切换到导航模式
|
||||
if (!isNavigationModeRef.current && drawRealTime) {
|
||||
tracePointRef.current.setMode(TPMode.NAVIGATION);
|
||||
isNavigationModeRef.current = true;
|
||||
}
|
||||
console.log(444444444)
|
||||
|
||||
|
||||
tracePointRef.current.upsert(point, TPAction.ADD);
|
||||
|
||||
Reference in New Issue
Block a user