aboutsummaryrefslogtreecommitdiffstats
path: root/main/res
diff options
context:
space:
mode:
authorJavaDog <culmor30@gmail.com>2013-07-19 12:14:17 -0400
committerJavaDog <culmor30@gmail.com>2013-07-19 12:14:17 -0400
commit71dc6fd3d4f551b7200c7c68417a71c15f2d3b00 (patch)
treed87ea0aa9814bf090c358e8a7223e0b2512f6f11 /main/res
parent46bcd8d179e95a80680e83eb43e9bf6ddfaf6f12 (diff)
downloadcgeo-71dc6fd3d4f551b7200c7c68417a71c15f2d3b00.zip
cgeo-71dc6fd3d4f551b7200c7c68417a71c15f2d3b00.tar.gz
cgeo-71dc6fd3d4f551b7200c7c68417a71c15f2d3b00.tar.bz2
Implements #2234: Hide own/found from Live Map
Added a button to show/hide own/found caches in the Live Map menu, under the "Map settings" option (renamed from "Map modes"). Refactored boolean "liveChanged" in CGeoMap.java, renamed to "markersInvalidated" as it now has more than that one use.
Diffstat (limited to 'main/res')
-rw-r--r--main/res/menu/map_activity.xml5
-rw-r--r--main/res/values/strings.xml2
2 files changed, 7 insertions, 0 deletions
diff --git a/main/res/menu/map_activity.xml b/main/res/menu/map_activity.xml
index df8fe09..d81a49b 100644
--- a/main/res/menu/map_activity.xml
+++ b/main/res/menu/map_activity.xml
@@ -39,6 +39,11 @@
android:title="@string/map_circles_hide">
</item>
<item
+ android:id="@+id/menu_mycaches_mode"
+ android:icon="@android:drawable/ic_menu_myplaces"
+ android:title="@string/map_mycaches_hide">
+ </item>
+ <item
android:id="@+id/menu_theme_mode"
android:icon="@drawable/ic_menu_preferences"
android:title="@string/map_theme_select">
diff --git a/main/res/values/strings.xml b/main/res/values/strings.xml
index c0bbded..22e5fbe 100644
--- a/main/res/values/strings.xml
+++ b/main/res/values/strings.xml
@@ -786,6 +786,8 @@
<string name="map_trail_hide">Hide trail</string>
<string name="map_circles_show">Show circles</string>
<string name="map_circles_hide">Hide circles</string>
+ <string name="map_mycaches_show">Show own/found caches</string>
+ <string name="map_mycaches_hide">Hide own/found caches</string>
<string name="map_theme_builtin">Default</string>
<string name="map_theme_select">Select map theme</string>
<string name="map_live_enable">Enable live</string>