Update default settings

This commit is contained in:
Victor Shcherb 2012-06-20 21:52:24 +02:00
parent 034c8b7605
commit 2d1cdf838c
2 changed files with 7 additions and 2 deletions

View file

@ -11,7 +11,6 @@ import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import net.osmand.osm.MapRoutingTypes.MapRouteType;
public class MapRoutingTypes {
@ -23,6 +22,11 @@ public class MapRoutingTypes {
TAGS_TO_ACCEPT.add("junction");
TAGS_TO_ACCEPT.add("cycleway");
// TEXT tags
// TAGS_TO_SAVE.add("ref");
// TAGS_TO_SAVE.add("name");
// TAGS_TO_SAVE.add("direction");
TAGS_TO_SAVE.add("roundabout");
TAGS_TO_SAVE.add("oneway");
TAGS_TO_SAVE.add("service");
@ -41,6 +45,7 @@ public class MapRoutingTypes {
TAGS_TO_SAVE.add("motorcycle");
TAGS_TO_SAVE.add("bridge");
TAGS_TO_SAVE.add("tunnel");
TAGS_TO_SAVE.add("lanes");
}
private Map<String, MapRouteType> types = new LinkedHashMap<String, MapRoutingTypes.MapRouteType>();

View file

@ -234,7 +234,7 @@ public class DataExtractionSettings {
}
public boolean isAnimateRouting(){
return preferences.getBoolean("animate_routing", true);
return preferences.getBoolean("animate_routing", false);
}
public void setAnimateRouting(boolean b){