fix typo
This commit is contained in:
parent
33d128896a
commit
b72b8c2f10
1 changed files with 2 additions and 4 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue