play with new branch

This commit is contained in:
sonora 2012-01-31 21:16:00 +01:00
parent c81707942b
commit f7e25c4085

View file

@ -463,7 +463,7 @@ public class RoutingHelper {
double distance = MapUtils.getDistance(end, start.getLatitude(), start.getLongitude()); double distance = MapUtils.getDistance(end, start.getLatitude(), start.getLongitude());
if (distance > DISTANCE_TO_USE_OSMAND_ROUTER) { if (distance > DISTANCE_TO_USE_OSMAND_ROUTER) {
// display 'temporarily switched to CloudMade' message only once per error wait period and not for GPX routes // display 'temporarily switched to CloudMade' message only once per error wait period and not for GPX routes
if ((evalWaitInterval == 3000) && (settings.FOLLOW_THE_GPX_ROUTE == null)) { if (evalWaitInterval == 3000 && settings.FOLLOW_THE_GPX_ROUTE.get() == null) {
showMessage(context.getString(R.string.osmand_routing_experimental), Toast.LENGTH_LONG); showMessage(context.getString(R.string.osmand_routing_experimental), Toast.LENGTH_LONG);
} }
serviceToUse = RouteService.CLOUDMADE; serviceToUse = RouteService.CLOUDMADE;