From 312258f203bd63e354c6f8d02728d166c706cfc6 Mon Sep 17 00:00:00 2001 From: renwj Date: Wed, 30 Mar 2022 16:12:10 +0800 Subject: [PATCH] =?UTF-8?q?[MapSdkUpdate]=E5=8D=87=E7=BA=A7=E5=9C=B0?= =?UTF-8?q?=E5=9B=BESDK-{1.=E4=BF=AE=E6=94=B9=E8=8E=B7=E5=8F=96=E5=81=9C?= =?UTF-8?q?=E6=AD=A2=E7=BA=BF=E4=BF=A1=E6=81=AF=E6=8E=A5=E5=8F=A3,2.?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E6=97=A5=E5=BF=97,3.=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=B4=A9=E6=BA=83}?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/mogo/eagle/core/data/map/MapRoadInfo.kt | 4 ++-- gradle.properties | 2 +- .../mogo-map/src/main/java/com/mogo/map/AMapViewWrapper.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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) { /**