opt
This commit is contained in:
@@ -162,6 +162,7 @@ public class MogoRouteOverlayManager implements
|
||||
if (mTrajectoryList.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
Log.d(TAG, "onLocationChanged : " + mTrajectoryList.size());
|
||||
ArrayList list = new ArrayList();
|
||||
for (MogoLatLng latLng : mTrajectoryList) {
|
||||
if (!isPointOnCarFront(mLocation, latLng)) {
|
||||
@@ -176,6 +177,7 @@ public class MogoRouteOverlayManager implements
|
||||
builder.append(latLng.getLat()).append(",");
|
||||
}
|
||||
Log.d(TAG, "onLocationChanged : " + GsonUtils.toJson(builder.toString()));
|
||||
Log.d(TAG,"onLocationChanged size = " + list.size() + "---TrajectoryData = " + FunctionBuildConfig.isIgnoreConditionsDrawAutopilotTrajectoryData + "----" + STATUS_AUTOPILOT);
|
||||
if (FunctionBuildConfig.isIgnoreConditionsDrawAutopilotTrajectoryData || STATUS_AUTOPILOT == 1) {
|
||||
RouteOverlayDrawer.getInstance(mContext).drawTrajectoryList(list);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user