public String getDebugInfo() { String str = debugInfo; for (PathWrapper ar : pathWrappers) { if (!str.isEmpty()) str += "; "; str += ar.getDebugInfo(); } return str; }
protected void onPostExecute(PathWrapper resp) { if (!resp.hasErrors()) { log("from:" + fromLat + "," + fromLon + " to:" + toLat + "," + toLon + " found path with distance:" + resp.getDistance() / 1000f + ", nodes:" + resp.getPoints().getSize() + ", time:" + time + " " + resp.getDebugInfo()); logUser("the route is " + (int) (resp.getDistance() / 100) / 10f + "km long, time:" + resp.getTime() / 60000f + "min, debug:" + time); pathLayer = createPathLayer(resp); mapView.map().layers().add(pathLayer); mapView.map().updateMap(true); } else { logUser("Error:" + resp.getErrors()); } shortestPathRunning = false; } }.execute();
String debug = altRsp.getDebugInfo() + ", simplify (" + origPoints + "->" + fullPoints.getSize() + ")"; altRsp.addDebugInfo(debug); if (fullPoints.is3D)
public String getDebugInfo() { String str = debugInfo; for (PathWrapper ar : pathWrappers) { if (!str.isEmpty()) str += "; "; str += ar.getDebugInfo(); } return str; }
public String getDebugInfo() { String str = debugInfo; for (PathWrapper ar : pathWrappers) { if (!str.isEmpty()) str += "; "; str += ar.getDebugInfo(); } return str; }
public String getDebugInfo() { String str = debugInfo; for (PathWrapper ar : pathWrappers) { if (!str.isEmpty()) str += "; "; str += ar.getDebugInfo(); } return str; }
String debug = altRsp.getDebugInfo() + ", simplify (" + origPoints + "->" + fullPoints.getSize() + ")"; altRsp.addDebugInfo(debug); if (fullPoints.is3D)
String debug = altRsp.getDebugInfo() + ", simplify (" + origPoints + "->" + fullPoints.getSize() + ")"; altRsp.addDebugInfo(debug); if (fullPoints.is3D)
String debug = altRsp.getDebugInfo() + ", simplify (" + origPoints + "->" + fullPoints.getSize() + ")"; altRsp.addDebugInfo(debug); if (fullPoints.is3D)