update to 2.1 version

This commit is contained in:
Victor Shcherb 2015-06-11 01:16:18 +02:00
parent c6730a35ce
commit 8cbeaf56f7
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ public class AppInitializer implements IProgress {
private static final String VERSION_INSTALLED = "VERSION_INSTALLED"; //$NON-NLS-1$
private static final String EXCEPTION_FILE_SIZE = "EXCEPTION_FS"; //$NON-NLS-1$
public static final String LATEST_CHANGES_URL = "changes-2.0.html";
public static final String LATEST_CHANGES_URL = "changes-2.1.html";
public static final int APP_EXIT_CODE = 4;
public static final String APP_EXIT_KEY = "APP_EXIT_KEY";
private OsmandApplication app;

View file

@ -290,7 +290,7 @@ public class TargetPointsHelper {
return false;
}
Location current = routingHelper.getLastProjection();
double dist = 300000;
double dist = 400000;
List<TargetPoint> list = getIntermediatePointsWithTarget();
if(!list.isEmpty()) {
if(current != null && MapUtils.getDistance(list.get(0).point, current.getLatitude(), current.getLongitude()) > dist) {