Skipping artificial POI types

This commit is contained in:
GaidamakUA 2015-11-11 12:52:42 +02:00
parent 10c11d6597
commit 3af7cb893f

View file

@ -353,6 +353,8 @@ public class AdvancedEditPoiFragment extends Fragment
HashSet<String> tagKeys = new HashSet<>();
HashSet<String> valueKeys = new HashSet<>();
for (AbstractPoiType abstractPoiType : result.values()) {
if (abstractPoiType instanceof PoiType &&
((PoiType) abstractPoiType).isNotEditableOsm()) continue;
addPoiToStringSet(abstractPoiType, tagKeys, valueKeys);
}
addPoiToStringSet(mapPoiTypes.getOtherMapCategory(), tagKeys, valueKeys);