Fix sherpafy

This commit is contained in:
Victor Shcherb 2014-08-24 16:59:42 +02:00
parent b8d4171a73
commit 163b486651

View file

@ -677,7 +677,7 @@ public class SherpafyCustomization extends OsmAndAppCustomization {
public int getWaypointSearchRadius(int searchDeviationRadius, int type) { public int getWaypointSearchRadius(int searchDeviationRadius, int type) {
if(type == WaypointHelper.WAYPOINTS) { if(type == WaypointHelper.WAYPOINTS) {
return searchDeviationRadius; return Math.min(2000, searchDeviationRadius);
} }
return searchDeviationRadius; return searchDeviationRadius;
} }