From 90c8a4832dcad2818a9a39887100b0130479be8b Mon Sep 17 00:00:00 2001 From: sonora Date: Mon, 1 Jul 2013 10:01:05 +0200 Subject: [PATCH] use optimzed log scale for search radius --- OsmAnd/src/net/osmand/plus/PoiFilter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/PoiFilter.java b/OsmAnd/src/net/osmand/plus/PoiFilter.java index da66fd6287..5e30c0845f 100644 --- a/OsmAnd/src/net/osmand/plus/PoiFilter.java +++ b/OsmAnd/src/net/osmand/plus/PoiFilter.java @@ -34,7 +34,7 @@ public class PoiFilter { protected int distanceInd = 1; // in kilometers - protected double[] distanceToSearchValues = new double[] {1, 2, 3, 5, 10, 30, 100, 250 }; + protected double[] distanceToSearchValues = new double[] {1, 2, 5, 10, 20, 50, 100, 200, 500 }; // constructor for standard filters @@ -87,7 +87,7 @@ public class PoiFilter { for(AmenityType t : AmenityType.values()){ acceptedTypes.put(t, null); } - distanceToSearchValues = new double[] {0.5, 1, 2, 3, 5, 10, 15, 30, 100}; + distanceToSearchValues = new double[] {0.5, 1, 2, 5, 10, 20, 50, 100}; }