From 542d74e94f8752026e0233db5f9738f7dd63c599 Mon Sep 17 00:00:00 2001 From: xweiba Date: Wed, 5 Aug 2026 22:40:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=93=9D=E7=82=B9=E5=9D=90=E6=A0=87?= =?UTF-8?q?=E5=B7=B2=E6=98=AF=20WGS-84=EF=BC=8C=E4=B8=8D=E5=86=8D=E8=BF=87?= =?UTF-8?q?=20toStored?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App/MapHomeView.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/App/MapHomeView.swift b/App/MapHomeView.swift index d81f995..d1ccfdb 100644 --- a/App/MapHomeView.swift +++ b/App/MapHomeView.swift @@ -675,9 +675,8 @@ struct MapHomeView: View { guard accepted else { return } // 用点击时的缩放级别居中,不改变缩放 mapState.focusSelection(distanceMeters: currentViewport) - CoordinateConverter.updateTileType(lat: coordinate.latitude, lon: coordinate.longitude) - let wgs = CoordinateConverter.toStored(lat: coordinate.latitude, lon: coordinate.longitude) - LastCoordinateStore.save(lat: wgs.lat, lon: wgs.lon) + // 蓝点坐标已是 WGS-84,直接存,不需要 toStored + LastCoordinateStore.save(lat: coordinate.latitude, lon: coordinate.longitude) favorites.select(nil) scheduleGeocode(coordinate: coordinate, revision: mapState.selection.revision) }