高德轨迹显示异常处理

This commit is contained in:
lijia 2024-10-14 10:56:05 +08:00
parent d9ec95fbc8
commit 6d2656a1f7
2 changed files with 38 additions and 32 deletions

View File

@ -59,7 +59,9 @@ public class TrackService extends Service {
@Nullable
@Override
public IBinder onBind(Intent intent) {return null; }
public IBinder onBind(Intent intent) {
return null;
}
@Override
public void onCreate() {
@ -95,6 +97,9 @@ public class TrackService extends Service {
}
public void genzong() {
if (l == null || l.getLatitude() == 0d) {
return;
}
//经度
tib.setLatitude(l.getLatitude() + "");
//纬度

View File

@ -694,7 +694,8 @@ public class HomeFragment extends BaseFragment {
qr.getBankCardList();
}
ur.getDriverExpire();
hyr.startOrder(curWaybillId==-1 ? 0 : curWaybillId);
// hyr.startOrder(curWaybillId==-1 ? 0 : curWaybillId);
hyr.startOrder(0);
ur.driverAuthData();
}
// oldTime= Calendar.getInstance().getTimeInMillis();