diff --git a/src/main/java/de/blau/android/NearbyPoiUpdateListener.java b/src/main/java/de/blau/android/NearbyPoiUpdateListener.java index 94e8e157c3..8b52a784f9 100644 --- a/src/main/java/de/blau/android/NearbyPoiUpdateListener.java +++ b/src/main/java/de/blau/android/NearbyPoiUpdateListener.java @@ -100,7 +100,7 @@ private interface PoiFilter { private static void filterElements(@NonNull List result, @NonNull List elements, @Nullable Filter filter) { PoiFilter poiFilter = filter == null ? WITHOUT_FILTER : WITH_FILTER; for (OsmElement e : elements) { - if (poiFilter.accept(e, filter)) { + if (poiFilter.accept(e, filter) && e.hasTags()) { result.add(e); } }