「Change」

修复道路中心线在地图为null的时候返回为null

Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
donghongyu
2022-05-20 18:32:11 +08:00
parent 963cfccbc0
commit 771651c590

View File

@@ -261,7 +261,7 @@ public class MapFragment extends MvpFragment<MapView, MapPresenter>
return mMogoMapView.getMap().getUIController().getCenterLineInfo(lon, lat, angle);
} else {
CallerLogger.INSTANCE.e(M_MAP + TAG, "mMogoMapView is null");
return new CenterLine(); //上层使用应该判空
return null; //上层使用应该判空
}
}