diff --git a/lib/features/home/presentation/widgets/map/testmap_pages.dart b/lib/features/home/presentation/widgets/map/testmap_pages.dart index 328d1a69..87faa5a8 100644 --- a/lib/features/home/presentation/widgets/map/testmap_pages.dart +++ b/lib/features/home/presentation/widgets/map/testmap_pages.dart @@ -1612,7 +1612,6 @@ class _MapPageEnterpriseState extends State { }); _traceManager.reset(); _saveDataToLocal(); // 🔥 保存暂停状态 - _traceManager.setMode(TPMode.LOCATION); context.read().updateAppState(AppState.none); await context.read().stopRoutePlanning(); @@ -2162,10 +2161,10 @@ class _MapPageEnterpriseState extends State { targetLatLng = LatLng(arriLatitude, arriLongitude); if (__isValidLatLng(targetLatLng)) { debugPrint("${targetLatLng}收到完成点gctracePoint"); - if (!isreceiveFirstCompletePoint) { - _traceManager.setMode(TPMode.NAVIGATION); - isreceiveFirstCompletePoint = true; - } + //if (!isreceiveFirstCompletePoint) { + _traceManager.setMode(TPMode.NAVIGATION); + // isreceiveFirstCompletePoint = true; + //} _traceManager.upsert(targetLatLng, TPAction.ADD); }