From 98e0742e77e8b5bde734e2d01d393bbc2b89b84a Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Fri, 23 Apr 2021 17:38:42 +0200 Subject: [PATCH] Update search result --- .../src/main/java/net/osmand/search/core/ObjectType.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OsmAnd-java/src/main/java/net/osmand/search/core/ObjectType.java b/OsmAnd-java/src/main/java/net/osmand/search/core/ObjectType.java index 421b6df280..df81a9ce18 100644 --- a/OsmAnd-java/src/main/java/net/osmand/search/core/ObjectType.java +++ b/OsmAnd-java/src/main/java/net/osmand/search/core/ObjectType.java @@ -52,15 +52,15 @@ public enum ObjectType { switch (t) { case HOUSE: case STREET_INTERSECTION: - return 5; - case STREET: return 4; + case STREET: + return 3; case CITY: case VILLAGE: case POSTCODE: - return 3; - case POI: return 2; + case POI: + return 1; default: return 1; }