[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

@@ -11,7 +11,7 @@ class MapRoadInfo {
/**
* 车道ID
*/
var laneId: String = ""
var laneId: List<String>? = null
/**
* 停止线上的点
@@ -21,7 +21,7 @@ class MapRoadInfo {
/**
* 道路ID
*/
var roadId: String = ""
var roadId: List<String>? = null
/**
* 瓦片ID

View File

@@ -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

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) {
/**