Fix sherpafy
This commit is contained in:
parent
b8d4171a73
commit
163b486651
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue