Don't show ways poi

This commit is contained in:
Victor Shcherb 2012-10-28 13:58:33 +01:00
parent 4cead87dcf
commit a5a57985e3
2 changed files with 7 additions and 6 deletions

View file

@ -153,7 +153,7 @@ public class OsmandApplication extends Application {
public PoiFiltersHelper getPoiFilters() {
if (poiFilters == null) {
poiFilters = new PoiFiltersHelper(this);
poiFilters.updateFilters(true);
poiFilters.updateFilters(false);
}
return poiFilters;
}

View file

@ -157,11 +157,12 @@ public class PoiFiltersHelper {
"bus_stop", "platform", "ferry_terminal", "taxi", "bicycle_rental", "bus_station", "car_rental", "car_sharing",
// aero
"airport", "aerodrome", "terminal", "gate",
// aerial ways
"aerialway_cable_car", "aerialway_gondola", "aerialway_chair_lift", "aerialway_mixed_lift", "aerialway_drag_lift",
"aerialway_goods", "aerialway_station",
// ways
"rail", "tram", "light_rail", "subway", "railway_narrow_gauge", "railway_monorail", "railway_funicular");
// aerial ways ( hide ways)
// "aerialway_cable_car", "aerialway_gondola", "aerialway_chair_lift", "aerialway_mixed_lift", "aerialway_drag_lift", "aerialway_goods",
"aerialway_station"
// ways (hide ways)
// "rail", "tram", "light_rail", "subway", "railway_narrow_gauge", "railway_monorail", "railway_funicular"
);
} else if (UDF_RESTAURANTS.equals(key)) {
putValues(types, AmenityType.SUSTENANCE, "restaurant",
"cafe", "food_court", "fast_food", "pub", "bar", "biergarten");