Allow POI search for types with name_only

This commit is contained in:
xmd5a 2015-11-02 13:10:46 +03:00
parent a34eb35a42
commit bafc57b039

View file

@ -168,7 +168,7 @@ public class MapPoiTypes {
addIf(tm, pt, matcher);
}
for (PoiType pt : pc.getPoiTypes()) {
if (pt.isReference() || pt.isNameOnly()) {
if (pt.isReference()){
continue;
}
addIf(tm, pt, matcher);