From 8d884b4b0ebe44fa2ac50eba0329283677bf4388 Mon Sep 17 00:00:00 2001 From: ZnDong <81907400+ZnDong@users.noreply.github.com> Date: Wed, 25 Dec 2024 00:07:25 +0800 Subject: [PATCH] Fix wrong name recorded when adding coordinates manually --- app/src/main/java/com/zcshou/gogogo/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/zcshou/gogogo/MainActivity.java b/app/src/main/java/com/zcshou/gogogo/MainActivity.java index 7c8d6c0a..c829ec5b 100644 --- a/app/src/main/java/com/zcshou/gogogo/MainActivity.java +++ b/app/src/main/java/com/zcshou/gogogo/MainActivity.java @@ -875,9 +875,9 @@ private void initMapButton() { double[] bdLonLat = MapUtils.wgs2bd09(dialog_lat_double, dialog_lng_double); mMarkLatLngMap = new LatLng(bdLonLat[1], bdLonLat[0]); } - mMarkName = "手动输入的坐标"; markMap(); + mMarkName = "手动输入的坐标"; MapStatusUpdate mapstatusupdate = MapStatusUpdateFactory.newLatLng(mMarkLatLngMap); mBaiduMap.setMapStatus(mapstatusupdate);