TSET
This commit is contained in:
@@ -1612,7 +1612,6 @@ class _MapPageEnterpriseState extends State<MapPageEnterprise> {
|
|||||||
});
|
});
|
||||||
_traceManager.reset();
|
_traceManager.reset();
|
||||||
_saveDataToLocal(); // 🔥 保存暂停状态
|
_saveDataToLocal(); // 🔥 保存暂停状态
|
||||||
_traceManager.setMode(TPMode.LOCATION);
|
|
||||||
context.read<DevicesCubit>().updateAppState(AppState.none);
|
context.read<DevicesCubit>().updateAppState(AppState.none);
|
||||||
await context.read<DevicesCubit>().stopRoutePlanning();
|
await context.read<DevicesCubit>().stopRoutePlanning();
|
||||||
|
|
||||||
@@ -2162,10 +2161,10 @@ class _MapPageEnterpriseState extends State<MapPageEnterprise> {
|
|||||||
targetLatLng = LatLng(arriLatitude, arriLongitude);
|
targetLatLng = LatLng(arriLatitude, arriLongitude);
|
||||||
if (__isValidLatLng(targetLatLng)) {
|
if (__isValidLatLng(targetLatLng)) {
|
||||||
debugPrint("${targetLatLng}收到完成点gctracePoint");
|
debugPrint("${targetLatLng}收到完成点gctracePoint");
|
||||||
if (!isreceiveFirstCompletePoint) {
|
//if (!isreceiveFirstCompletePoint) {
|
||||||
_traceManager.setMode(TPMode.NAVIGATION);
|
_traceManager.setMode(TPMode.NAVIGATION);
|
||||||
isreceiveFirstCompletePoint = true;
|
// isreceiveFirstCompletePoint = true;
|
||||||
}
|
//}
|
||||||
|
|
||||||
_traceManager.upsert(targetLatLng, TPAction.ADD);
|
_traceManager.upsert(targetLatLng, TPAction.ADD);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user