From 9de011be825a61e14a76584ba4e36577f6fd5ec4 Mon Sep 17 00:00:00 2001 From: sonora Date: Thu, 13 Jun 2013 16:06:28 +0200 Subject: [PATCH] fix build for now --- .../src/net/osmand/plus/activities/MapActivityActions.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java index 079aaeb9b7..a5774b4815 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java @@ -805,7 +805,8 @@ public class MapActivityActions implements DialogProvider { //targets.navigateToPoint(new LatLon(latitude, longitude), true, targets.getIntermediatePoints().size()); int sz = targets.getIntermediatePoints().size(); // TODO: enhance next statement to transmit getSelectedObjectName for clicked objects like favorites instead of just coordinates - settings.insertIntermediatePoint(latitude, longitude, getString(R.string.point_on_map, (float) latitude, (float) longitude), sz, false); + //settings.insertIntermediatePoint(latitude, longitude, getString(R.string.point_on_map, latitude, longitude), sz, false); + settings.insertIntermediatePoint(latitude, longitude, "x", sz, false); //$NON-NLS-1$ targets.updatePointsFromSettings(); IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity); // For button-less search UI @@ -813,7 +814,8 @@ public class MapActivityActions implements DialogProvider { // Issue 1929: Consistently show IntermediatePointDialog, without subsequent Directions screen //targets.navigateToPoint(new LatLon(latitude, longitude), true, -1); // TODO: enhance next statement to transmit getSelectedObjectName for clicked objects like favorites instead of just coordinates - settings.setPointToNavigate(latitude, longitude, false, getString(R.string.point_on_map, (float) latitude, (float) longitude)); + //settings.setPointToNavigate(latitude, longitude, false, getString(R.string.point_on_map, latitude, longitude)); + settings.setPointToNavigate(latitude, longitude, false, "z"); //$NON-NLS-1$ targets.updatePointsFromSettings(); IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity); } else if (standardId == R.string.context_menu_item_share_location) {