Skip to content

Commit

Permalink
disable maxspeed quest for US (#813)
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost committed Feb 4, 2018
1 parent 31eb9ed commit 66280f2
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import de.westnordost.streetcomplete.R;
import de.westnordost.streetcomplete.data.meta.OsmTaggings;
import de.westnordost.streetcomplete.data.osm.Countries;
import de.westnordost.streetcomplete.data.osm.SimpleOverpassQuestType;
import de.westnordost.streetcomplete.data.osm.changes.StringMapChangesBuilder;
import de.westnordost.streetcomplete.data.osm.download.OverpassMapDataDao;
Expand Down Expand Up @@ -78,4 +79,10 @@ else if (maxspeed != null)
{
return R.string.quest_maxspeed_title_short;
}

@Override public Countries getEnabledForCountries()
{
// see #813: US has different rules for each different state which need to be respected
return Countries.allExcept(new String[]{"US"});
}
}

0 comments on commit 66280f2

Please sign in to comment.