mirror of
https://github.com/xweiba/location-spoofer.git
synced 2026-09-21 22:30:46 +08:00
fix: 蓝点坐标已是 WGS-84,不再过 toStored
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user