Skip to content

Commit

Permalink
fix(mian):fix do not record location when go continually
Browse files Browse the repository at this point in the history
  • Loading branch information
ZCShou committed Oct 16, 2022
1 parent bb99e03 commit 0e30108
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/com/zcshou/gogogo/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -1059,6 +1059,8 @@ private void doGoLocation(View v) {
Snackbar.make(v, "已传送到新位置", Snackbar.LENGTH_LONG)
.setAction("Action", null).show();

recordCurrentLocation();

mBaiduMap.clear();
mMarkLatLngMap = null;

Expand Down

0 comments on commit 0e30108

Please sign in to comment.