From 163b48665158c289aeb97d92b8b4fced386c96d2 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sun, 24 Aug 2014 16:59:42 +0200 Subject: [PATCH] Fix sherpafy --- OsmAnd/src/net/osmand/plus/sherpafy/SherpafyCustomization.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/sherpafy/SherpafyCustomization.java b/OsmAnd/src/net/osmand/plus/sherpafy/SherpafyCustomization.java index a0b1369a65..5c9661ff0f 100644 --- a/OsmAnd/src/net/osmand/plus/sherpafy/SherpafyCustomization.java +++ b/OsmAnd/src/net/osmand/plus/sherpafy/SherpafyCustomization.java @@ -677,7 +677,7 @@ public class SherpafyCustomization extends OsmAndAppCustomization { public int getWaypointSearchRadius(int searchDeviationRadius, int type) { if(type == WaypointHelper.WAYPOINTS) { - return searchDeviationRadius; + return Math.min(2000, searchDeviationRadius); } return searchDeviationRadius; }