This commit is contained in:
sonora 2013-06-12 14:30:09 +02:00
parent bb4b10ca72
commit c664cc0ead

View file

@ -804,14 +804,14 @@ public class MapActivityActions implements DialogProvider {
// Issue 1929 TODO: insert navigatePointDialog, but without Directions:
navigatePointDialogAndLaunchMap(mapActivity, latitude, longitude, null);
//targets.navigateToPoint(new LatLon(latitude, longitude), true, targets.getIntermediatePoints().size());
MapActivity.launchMapActivityMoveToTop(act);
MapActivity.launchMapActivityMoveToTop(mapActivity);
IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity);
// For button-less search UI
} else if (standardId == R.string.context_menu_item_destination_point) {
// Issue 1929 TODO: insert navigatePointDialog, but without Directions:
navigatePointDialogAndLaunchMap(mapActivity, latitude, longitude, null);
//targets.navigateToPoint(new LatLon(latitude, longitude), true, -1);
MapActivity.launchMapActivityMoveToTop(act);
MapActivity.launchMapActivityMoveToTop(mapActivity);
IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity);
} else if (standardId == R.string.context_menu_item_share_location) {
shareLocation(latitude, longitude, mapActivity.getMapView().getZoom());