Disable osmand route calculation as unstable

This commit is contained in:
vshcherb 2014-03-26 23:58:45 +01:00
parent 73a4e94773
commit 040ad3ad77
2 changed files with 4 additions and 3 deletions

View file

@ -208,7 +208,7 @@ public class RouteProvider {
GPXFile file = builder.file;
boolean reverse = builder.reverse;
boolean announceWaypoints = builder.announceWaypoints;
calculateOsmAndRoute = builder.calculateOsmAndRoute;
calculateOsmAndRoute = false; // Disabled temporary builder.calculateOsmAndRoute;
if(file.isCloudmadeRouteFile() || OSMAND_ROUTER.equals(file.author)){
directions = parseOsmAndGPXRoute(points, file, OSMAND_ROUTER.equals(file.author), builder.leftSide, 10);
if(reverse){

View file

@ -188,8 +188,9 @@ public class MapRoutePreferencesControl extends MapControls {
getString(R.string.gpx_option_from_start_point), rparams.isPassWholeRoute()));
list.add(new GPXLocalRoutingParameter(R.string.announce_gpx_waypoints,
getString(R.string.announce_gpx_waypoints), rparams.isAnnounceWaypoints()));
list.add(new GPXLocalRoutingParameter(R.string.calculate_osmand_route_gpx,
getString(R.string.calculate_osmand_route_gpx), rparams.isCalculateOsmAndRoute()));
// Temporary disabled
// list.add(new GPXLocalRoutingParameter(R.string.calculate_osmand_route_gpx,
// getString(R.string.calculate_osmand_route_gpx), rparams.isCalculateOsmAndRoute()));
}
if(rm == null || (rparams != null && !rparams.isCalculateOsmAndRoute())) {
return list;