[MapSdkUpdate]升级地图SDK-{1.修改获取停止线信息接口,2.关闭日志,3.修改崩溃}

This commit is contained in:
renwj
2022-03-30 16:12:10 +08:00
parent 0da7773d2b
commit 312258f203
3 changed files with 4 additions and 4 deletions

View File

@@ -180,7 +180,7 @@ public class AMapViewWrapper implements IMogoMapView,
@Override
public void onStopLineInfo(@androidx.annotation.Nullable StopLine stopLine) {
MogoLocation carLoc = CallerMapLocationListenerManager.INSTANCE.getCurrentLocation();
if (stopLine != null && !TextUtils.isEmpty(stopLine.road_id) && stopLine.points != null && stopLine.points.size() > 0) {
if (stopLine != null && stopLine.road_id != null && !stopLine.road_id.isEmpty() && stopLine.points != null && stopLine.points.size() > 0) {
ArrayList<LonLatPoint> points = stopLine.points;
if (carLoc != null) {
/**