Skipping artificial POI types
This commit is contained in:
parent
10c11d6597
commit
3af7cb893f
1 changed files with 2 additions and 0 deletions
|
@ -353,6 +353,8 @@ public class AdvancedEditPoiFragment extends Fragment
|
||||||
HashSet<String> tagKeys = new HashSet<>();
|
HashSet<String> tagKeys = new HashSet<>();
|
||||||
HashSet<String> valueKeys = new HashSet<>();
|
HashSet<String> valueKeys = new HashSet<>();
|
||||||
for (AbstractPoiType abstractPoiType : result.values()) {
|
for (AbstractPoiType abstractPoiType : result.values()) {
|
||||||
|
if (abstractPoiType instanceof PoiType &&
|
||||||
|
((PoiType) abstractPoiType).isNotEditableOsm()) continue;
|
||||||
addPoiToStringSet(abstractPoiType, tagKeys, valueKeys);
|
addPoiToStringSet(abstractPoiType, tagKeys, valueKeys);
|
||||||
}
|
}
|
||||||
addPoiToStringSet(mapPoiTypes.getOtherMapCategory(), tagKeys, valueKeys);
|
addPoiToStringSet(mapPoiTypes.getOtherMapCategory(), tagKeys, valueKeys);
|
||||||
|
|
Loading…
Reference in a new issue