From 7226773682243facad349af3eb353a10c3a20087 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Fri, 15 Jul 2016 09:58:39 +0200 Subject: [PATCH] Fix issue with poi search --- OsmAnd-java/src/net/osmand/search/core/SearchCoreFactory.java | 3 --- .../osmand/plus/resources/AmenityIndexRepositoryBinary.java | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/OsmAnd-java/src/net/osmand/search/core/SearchCoreFactory.java b/OsmAnd-java/src/net/osmand/search/core/SearchCoreFactory.java index 7cf430de82..e989a70b5c 100644 --- a/OsmAnd-java/src/net/osmand/search/core/SearchCoreFactory.java +++ b/OsmAnd-java/src/net/osmand/search/core/SearchCoreFactory.java @@ -47,12 +47,9 @@ import com.jwetherell.openmap.common.UTMPoint; public class SearchCoreFactory { - // TODO partial location (+) - // TODO add full text search with comma correct order // TODO MED add full text search without comma and different word order // TODO MED edit in the middle (with words and comma)? - // TODO exclude duplicate streets/cities/pois... // TODO UI support poi additional select type and search diff --git a/OsmAnd/src/net/osmand/plus/resources/AmenityIndexRepositoryBinary.java b/OsmAnd/src/net/osmand/plus/resources/AmenityIndexRepositoryBinary.java index f79c6211ee..aff03fcfc9 100644 --- a/OsmAnd/src/net/osmand/plus/resources/AmenityIndexRepositoryBinary.java +++ b/OsmAnd/src/net/osmand/plus/resources/AmenityIndexRepositoryBinary.java @@ -47,7 +47,7 @@ public class AmenityIndexRepositoryBinary implements AmenityIndexRepository { @Override public boolean checkContainsInt(int top31, int left31, int bottom31, int right31) { - return index.containsPoiData(top31, left31, bottom31, right31); + return index.containsPoiData(left31, top31, right31, bottom31); }