correct typo with mapActivity
This commit is contained in:
parent
9966afebf0
commit
f07307edff
1 changed files with 8 additions and 8 deletions
|
@ -801,15 +801,15 @@ public class MapActivityActions implements DialogProvider {
|
|||
getDirections(loc, null, true);
|
||||
}
|
||||
} else if (standardId == R.string.context_menu_item_intermediate_point) {
|
||||
// TODO Issue 1929: insert navigatePointDialog, but without Directions
|
||||
//navigatePointDialogAndLaunchMap(activity, latitude, longitude, null);
|
||||
targets.navigateToPoint(new LatLon(latitude, longitude), true, targets.getIntermediatePoints().size());
|
||||
// TODO Issue 1929: insert navigatePointDialog, but without Directions:
|
||||
navigatePointDialogAndLaunchMap(mapActivity, latitude, longitude, null);
|
||||
//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) {
|
||||
// TODO Issue 1929: insert navigatePointDialog, but without Directions
|
||||
//navigatePointDialogAndLaunchMap(activity, latitude, longitude, null);
|
||||
targets.navigateToPoint(new LatLon(latitude, longitude), true, -1);
|
||||
// TODO Issue 1929: insert navigatePointDialog, but without Directions:
|
||||
navigatePointDialogAndLaunchMap(mapActivity, latitude, longitude, null);
|
||||
//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());
|
||||
|
@ -1310,7 +1310,7 @@ public class MapActivityActions implements DialogProvider {
|
|||
}
|
||||
targetPointsHelper.updatePointsFromSettings();
|
||||
// TODO Issue 1929: slash next line (no Directions here)
|
||||
MapActivity.launchMapActivityMoveToTop(act);
|
||||
//MapActivity.launchMapActivityMoveToTop(act);
|
||||
}
|
||||
});
|
||||
builder.show();
|
||||
|
@ -1318,7 +1318,7 @@ public class MapActivityActions implements DialogProvider {
|
|||
settings.setPointToNavigate(lat, lon, true, name);
|
||||
targetPointsHelper.updatePointsFromSettings();
|
||||
// TODO Issue 1929: slash next line (no Directions here)
|
||||
MapActivity.launchMapActivityMoveToTop(act);
|
||||
//MapActivity.launchMapActivityMoveToTop(act);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue