From f1c1164d3edb6f1159468d79be7ece6a5e348154 Mon Sep 17 00:00:00 2001 From: mmc <1556375442@qq.com> Date: Fri, 13 Mar 2026 13:03:30 +0800 Subject: [PATCH] TSET --- .../home/presentation/widgets/map/testmap_pages.dart | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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); }