This commit is contained in:
sonora 2013-06-12 12:06:04 +02:00
parent 33d128896a
commit b72b8c2f10

View file

@ -803,15 +803,13 @@ public class MapActivityActions implements DialogProvider {
} else if (standardId == R.string.context_menu_item_intermediate_point) { } else if (standardId == R.string.context_menu_item_intermediate_point) {
// Issue 1929: // Issue 1929:
navigatePointDialogAndLaunchMap(activity, latitude, longitude, null); navigatePointDialogAndLaunchMap(activity, latitude, longitude, null);
//targets.navigateToPoint(new LatLon(latitude, longitude), //targets.navigateToPoint(new LatLon(latitude, longitude), true, targets.getIntermediatePoints().size());
true, targets.getIntermediatePoints().size());
IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity); IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity);
// For button-less search UI // For button-less search UI
} else if (standardId == R.string.context_menu_item_destination_point) { } else if (standardId == R.string.context_menu_item_destination_point) {
// Issue 1929: // Issue 1929:
navigatePointDialogAndLaunchMap(activity, latitude, longitude, null); navigatePointDialogAndLaunchMap(activity, latitude, longitude, null);
//targets.navigateToPoint(new LatLon(latitude, longitude), //targets.navigateToPoint(new LatLon(latitude, longitude), true, -1);
true, -1);
IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity); IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity);
} else if (standardId == R.string.context_menu_item_share_location) { } else if (standardId == R.string.context_menu_item_share_location) {
shareLocation(latitude, longitude, mapActivity.getMapView().getZoom()); shareLocation(latitude, longitude, mapActivity.getMapView().getZoom());