2.5.1 暂不绘制终点marker
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user