「Change」
修复道路中心线在地图为null的时候返回为null Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
@@ -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; //上层使用应该判空
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user