Fix issue with poi search

This commit is contained in:
Victor Shcherb 2016-07-15 09:58:39 +02:00
parent 61e2d908ec
commit 7226773682
2 changed files with 1 additions and 4 deletions

View file

@ -47,12 +47,9 @@ import com.jwetherell.openmap.common.UTMPoint;
public class SearchCoreFactory { public class SearchCoreFactory {
// TODO partial location (+)
// TODO add full text search with comma correct order // TODO add full text search with comma correct order
// TODO MED add full text search without comma and different word order // TODO MED add full text search without comma and different word order
// TODO MED edit in the middle (with words and comma)? // TODO MED edit in the middle (with words and comma)?
// TODO exclude duplicate streets/cities/pois... // TODO exclude duplicate streets/cities/pois...
// TODO UI support poi additional select type and search // TODO UI support poi additional select type and search

View file

@ -47,7 +47,7 @@ public class AmenityIndexRepositoryBinary implements AmenityIndexRepository {
@Override @Override
public boolean checkContainsInt(int top31, int left31, int bottom31, int right31) { 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);
} }