[charter]

[3.2.0]
[轨迹缺少]
This commit is contained in:
yangyakun
2023-05-18 20:53:40 +08:00
parent 37fcbbbbf7
commit 9f87c77445

View File

@@ -672,8 +672,10 @@ object CharterPassengerModel {
mogoLocation.latitude
)
if(lastSumLength>100) {
ToastUtils.showLong("缺少轨迹数据")
if (mRoutePoints.size == 0) return
if (mRoutePoints.size == 0){
ToastUtils.showLong("缺少轨迹数据")
return
}
// 计算距离
lastSumLength =
CoordinateCalculateRouteUtil.calculateRouteSumLength(