Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
|
f261ae8469 |
1 changed files with 1 additions and 1 deletions
|
@ -589,7 +589,7 @@ public class MapActivityLayers {
|
|||
String filterId;
|
||||
if (which == 0) {
|
||||
filterId = PoiFiltersHelper.getOsmDefinedFilterId(null);
|
||||
} else if (which <= userDefined.size()) {
|
||||
} else if (which <= userDefined.size() + 1) {
|
||||
filterId = userDefined.get(which - 2).getFilterId();
|
||||
} else {
|
||||
filterId = PoiFiltersHelper.getOsmDefinedFilterId(AmenityType.values()[which - userDefined.size() - 2]);
|
||||
|
|
Loading…
Reference in a new issue