From 2d1cdf838c7d39d3cea64e5bfc407a1bd160f078 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Wed, 20 Jun 2012 21:52:24 +0200 Subject: [PATCH] Update default settings --- DataExtractionOSM/src/net/osmand/osm/MapRoutingTypes.java | 7 ++++++- .../src/net/osmand/swing/DataExtractionSettings.java | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/DataExtractionOSM/src/net/osmand/osm/MapRoutingTypes.java b/DataExtractionOSM/src/net/osmand/osm/MapRoutingTypes.java index 4a37217599..2aa966b3ab 100644 --- a/DataExtractionOSM/src/net/osmand/osm/MapRoutingTypes.java +++ b/DataExtractionOSM/src/net/osmand/osm/MapRoutingTypes.java @@ -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 types = new LinkedHashMap(); diff --git a/DataExtractionOSM/src/net/osmand/swing/DataExtractionSettings.java b/DataExtractionOSM/src/net/osmand/swing/DataExtractionSettings.java index 82316e965f..9ac7171349 100644 --- a/DataExtractionOSM/src/net/osmand/swing/DataExtractionSettings.java +++ b/DataExtractionOSM/src/net/osmand/swing/DataExtractionSettings.java @@ -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){