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) {
// Issue 1929:
navigatePointDialogAndLaunchMap(activity, latitude, longitude, null);
//targets.navigateToPoint(new LatLon(latitude, longitude),
true, targets.getIntermediatePoints().size());
//targets.navigateToPoint(new LatLon(latitude, longitude), true, targets.getIntermediatePoints().size());
IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity);
// For button-less search UI
} else if (standardId == R.string.context_menu_item_destination_point) {
// Issue 1929:
navigatePointDialogAndLaunchMap(activity, latitude, longitude, null);
//targets.navigateToPoint(new LatLon(latitude, longitude),
true, -1);
//targets.navigateToPoint(new LatLon(latitude, longitude), true, -1);
IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity);
} else if (standardId == R.string.context_menu_item_share_location) {
shareLocation(latitude, longitude, mapActivity.getMapView().getZoom());