diff options
-rw-r--r-- | navit/android/src/org/navitproject/navit/Navit.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/navit/android/src/org/navitproject/navit/Navit.java b/navit/android/src/org/navitproject/navit/Navit.java index a0e252dfe..77a54bc30 100644 --- a/navit/android/src/org/navitproject/navit/Navit.java +++ b/navit/android/src/org/navitproject/navit/Navit.java @@ -676,13 +676,19 @@ public class Navit extends Activity startActivityForResult(map_download_list_activity, Navit.NavitDownloaderSelectMap_id);
break;
case 5 :
- // toggle the normal POI layers (to avoid double POIs)
+ // toggle the normal POI layers and labels (to avoid double POIs)
Message msg = Message.obtain(N_NavitGraphics.callback_handler, NavitGraphics.msg_type.CLB_CALL_CMD.ordinal());
Bundle b = new Bundle();
b.putString("cmd", "toggle_layer(\"POI Symbols\");");
msg.setData(b);
msg.sendToTarget();
+ msg = Message.obtain(N_NavitGraphics.callback_handler, NavitGraphics.msg_type.CLB_CALL_CMD.ordinal());
+ b = new Bundle();
+ b.putString("cmd", "toggle_layer(\"POI Labels\");");
+ msg.setData(b);
+ msg.sendToTarget();
+
// toggle full POI icons on/off
msg = Message.obtain(N_NavitGraphics.callback_handler, NavitGraphics.msg_type.CLB_CALL_CMD.ordinal());
b = new Bundle();
|