Skip to content

Commit

Permalink
Fix wrong name recorded when adding coordinates manually
Browse files Browse the repository at this point in the history
  • Loading branch information
ZnDong committed Dec 24, 2024
1 parent 6904706 commit 8d884b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/zcshou/gogogo/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8d884b4

Please sign in to comment.