OsmAnd/OsmAnd-java/src/net/osmand/osm/PoiCategory.java

23 lines
429 B
Java
Raw Normal View History

2015-01-19 22:22:27 +01:00
package net.osmand.osm;
2015-01-20 23:32:35 +01:00
import java.util.ArrayList;
import java.util.List;
public class PoiCategory extends PoiFilter {
2015-01-19 22:22:27 +01:00
2015-01-20 23:32:35 +01:00
private List<PoiFilter> poiFilters = new ArrayList<PoiFilter>();
2015-01-19 22:22:27 +01:00
2015-01-20 23:32:35 +01:00
public PoiCategory(MapPoiTypes registry, String keyName){
2015-01-27 01:05:40 +01:00
super(registry, null, keyName);
2015-01-19 22:22:27 +01:00
}
2015-01-20 23:32:35 +01:00
public void addPoiType(PoiFilter poi) {
poiFilters.add(poi);
2015-01-19 22:22:27 +01:00
}
2015-01-27 01:05:40 +01:00
public List<PoiFilter> getPoiFilters() {
return poiFilters;
}
2015-01-20 23:32:35 +01:00
2015-01-19 22:22:27 +01:00
}