[2110] 地图版本回归等待高精地图发布
This commit is contained in:
@@ -16,6 +16,7 @@ import com.mogo.och.common.module.biz.constant.TaxiLoginStatusEnum
|
||||
import com.mogo.och.common.module.biz.constant.LoginStatusManager
|
||||
import com.mogo.och.common.module.biz.network.OchCommonServiceCallback
|
||||
import com.mogo.och.common.module.biz.network.OchCommonServiceManager
|
||||
import com.mogo.och.common.module.utils.ToastUtilsOch
|
||||
|
||||
/**
|
||||
* Created by pangfan on 2021/8/19
|
||||
@@ -93,7 +94,7 @@ object OchCommonLoginModel{
|
||||
}
|
||||
|
||||
override fun onFail(code: Int, msg: String) {
|
||||
ToastUtils.showShort("$code,$msg")
|
||||
ToastUtilsOch.showWithCodeMessage(code,msg)
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -127,7 +128,7 @@ object OchCommonLoginModel{
|
||||
}
|
||||
|
||||
override fun onFail(code: Int, msg: String) {
|
||||
ToastUtils.showShort("$code,$msg")
|
||||
ToastUtilsOch.showWithCodeMessage(code,msg)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ MOGO_LOCATION_VERSION=1.4.3.26
|
||||
MOGO_TELEMATIC_VERSION=1.4.3.26
|
||||
######## MogoAiCloudSDK Version ########
|
||||
# 自研地图
|
||||
MAP_SDK_VERSION=2.6.0.3
|
||||
MAP_SDK_VERSION=2.5.1.9
|
||||
MAP_SDK_OPERATION_VERSION=1.1.2.4
|
||||
# websocket
|
||||
WEBSOCKET_VERSION=1.1.7
|
||||
|
||||
@@ -337,12 +337,12 @@ public class AMapWrapper implements IMogoMap {
|
||||
|
||||
@Override
|
||||
public RoadNameInfo getRoadName(double lon, double lat, float angle) {
|
||||
com.zhidaoauto.map.sdk.open.road.RoadNameInfo info = MapDataApi.INSTANCE.getRoadName(lon, lat, angle);
|
||||
RoadNameInfo ret = null;
|
||||
if (info != null) {
|
||||
ret = new RoadNameInfo(info.tile_id, info.road_id, info.road_name);
|
||||
}
|
||||
return ret;
|
||||
// com.zhidaoauto.map.sdk.open.road.RoadNameInfo info = MapDataApi.INSTANCE.getRoadName(lon, lat, angle);
|
||||
// RoadNameInfo ret = null;
|
||||
// if (info != null) {
|
||||
// ret = new RoadNameInfo(info.tile_id, info.road_id, info.road_name);
|
||||
// }
|
||||
return null;
|
||||
}
|
||||
|
||||
private List<Pair<Double, Double>> convert(List<LonLatPoint> points) {
|
||||
|
||||
Reference in New Issue
Block a user