eagle 小地图去掉已行进路径擦除

This commit is contained in:
lianglihui
2021-10-27 10:44:40 +08:00
parent 5742f2ad93
commit 0fea60b5f1
5 changed files with 9 additions and 8 deletions

View File

@@ -45,7 +45,7 @@ dependencies {
// 现有的ADAS的通讯SDK需要将里面的东西融合到我们项目中
compileOnly rootProject.ext.dependencies.adasapi
api "com.zhidao.support.adas:high:1.2.0.8"
api "com.zhidao.support.adas:high:1.2.0.9"
implementation rootProject.ext.dependencies.mogoami
// implementation "com.zhidao.support.adas:high:1.2.0.7"

View File

@@ -32,6 +32,7 @@ public class MogoRouteOverlayManager implements IMogoCarLocationChangedListener2
@Override
public void routeResult(List<MogoLatLng> routeList) {
Log.e("lianglihui","routeResult:"+routeList.size());
RouteOverlayDrawer.getInstance(mContext).putRouteList(routeList);
}
});
@@ -39,11 +40,10 @@ public class MogoRouteOverlayManager implements IMogoCarLocationChangedListener2
@Override
public void onAutopilotTrajectory(List<ADASTrajectoryInfo> trajectoryInfos) {
// Log.e("lianglihui","onAutopilotTrajectory");
if (trajectoryInfos == null || trajectoryInfos.size() == 0){
return;
}
// Log.e("lianglihui","trajectoryInfos:"+trajectoryInfos.size());
Log.e("lianglihui","trajectoryInfos:"+trajectoryInfos.size());
List<MogoLatLng> mogoLatLngs = new ArrayList<>();
for (ADASTrajectoryInfo a:trajectoryInfos) {
mogoLatLngs.add(new MogoLatLng(a.getLat(),a.getLon()));