diff --git a/core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/map/MapRoadInfo.kt b/core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/map/MapRoadInfo.kt index 4e200c18a7..127675463d 100644 --- a/core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/map/MapRoadInfo.kt +++ b/core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/map/MapRoadInfo.kt @@ -11,7 +11,7 @@ class MapRoadInfo { /** * 车道ID */ - var laneId: String = "" + var laneId: List? = null /** * 停止线上的点 @@ -21,7 +21,7 @@ class MapRoadInfo { /** * 道路ID */ - var roadId: String = "" + var roadId: List? = null /** * 瓦片ID diff --git a/gradle.properties b/gradle.properties index 8a5279d60b..3e4dca623b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -82,7 +82,7 @@ MOGO_LOCATION_VERSION=1.3.50 MOGO_TELEMATIC_VERSION=1.3.50 ######## MogoAiCloudSDK Version ######## # 自研地图 -MAP_SDK_VERSION=2.0.9.6 +MAP_SDK_VERSION=2.0.9.7 MAP_SDK_OPERATION_VERSION=1.0.12 # websocket WEBSOCKET_VERSION=1.1.7 diff --git a/libraries/mogo-map/src/main/java/com/mogo/map/AMapViewWrapper.java b/libraries/mogo-map/src/main/java/com/mogo/map/AMapViewWrapper.java index 0795fcac04..6881bc8434 100644 --- a/libraries/mogo-map/src/main/java/com/mogo/map/AMapViewWrapper.java +++ b/libraries/mogo-map/src/main/java/com/mogo/map/AMapViewWrapper.java @@ -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 points = stopLine.points; if (carLoc != null) { /**