From b5faf906b096da79e161dcce7ce51fbef60448e2 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Fri, 11 Jan 2013 14:33:39 +0100 Subject: [PATCH] Small glitches/precise routing --- OsmAnd/res/values/strings.xml | 2 ++ OsmAnd/res/xml/settings_pref.xml | 3 +++ OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java | 1 + 3 files changed, 6 insertions(+) diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index 8dd221c055..42baee5d2b 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -9,6 +9,8 @@ 1. All your modified/created strings are in the top of the file (to make easier find what\'s translated). PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy --> + Enable precise routing to calculate precise routes without glitches. It is very limited by distance and doesn\'t use native library. + Precise routing (alpha) Show Photo %1$s at %2$s Take a photo diff --git a/OsmAnd/res/xml/settings_pref.xml b/OsmAnd/res/xml/settings_pref.xml index 83be54cd3b..dc7942d20c 100644 --- a/OsmAnd/res/xml/settings_pref.xml +++ b/OsmAnd/res/xml/settings_pref.xml @@ -37,6 +37,9 @@ + + diff --git a/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java b/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java index 86337e16db..c8aef74b40 100644 --- a/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java @@ -293,6 +293,7 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference registerBooleanPreference(osmandSettings.USE_ENGLISH_NAMES, screen); registerBooleanPreference(osmandSettings.AUTO_ZOOM_MAP, screen); registerBooleanPreference(osmandSettings.FAST_ROUTE_MODE, screen); + registerBooleanPreference(osmandSettings.PRECISE_ROUTING_MODE, screen); registerBooleanPreference(osmandSettings.SNAP_TO_ROAD, screen); registerBooleanPreference(osmandSettings.USE_COMPASS_IN_NAVIGATION, screen); registerBooleanPreference(osmandSettings.LEFT_SIDE_NAVIGATION, screen);