2.5.1 暂不绘制终点marker

This commit is contained in:
lianglihui
2022-01-25 19:33:45 +08:00
parent 4081eef234
commit 79a246ebc2

View File

@@ -115,9 +115,9 @@ public class MogoRouteOverlayManager implements IMoGoAutopilotPlanningListener,
this.STATUS_AUTOPILOT = autoPilotStatusInfo.getControl_pilotmode(); this.STATUS_AUTOPILOT = autoPilotStatusInfo.getControl_pilotmode();
//Log.d("lianglihui","onAutopilotStatusResponse:"+STATUS_AUTOPILOT); //Log.d("lianglihui","onAutopilotStatusResponse:"+STATUS_AUTOPILOT);
if (STATUS_AUTOPILOT == 1 ){ if (STATUS_AUTOPILOT == 1 ){
if (mEnding != null){ // if (mEnding != null){
RouteOverlayDrawer.getInstance(mContext).addEndingMarker(mEnding.lat,mEnding.lon); // RouteOverlayDrawer.getInstance(mContext).addEndingMarker(mEnding.lat,mEnding.lon);
} // }
}else { }else {
RouteOverlayDrawer.getInstance(mContext).clearEndingMarker(); RouteOverlayDrawer.getInstance(mContext).clearEndingMarker();
RouteOverlayDrawer.getInstance(mContext).clearMogoRouteOverlay(); RouteOverlayDrawer.getInstance(mContext).clearMogoRouteOverlay();