use float in getString
This commit is contained in:
parent
75c51a8d48
commit
e3c40c0d5e
1 changed files with 2 additions and 2 deletions
|
@ -805,7 +805,7 @@ public class MapActivityActions implements DialogProvider {
|
|||
//targets.navigateToPoint(new LatLon(latitude, longitude), true, targets.getIntermediatePoints().size());
|
||||
int sz = targets.getIntermediatePoints().size();
|
||||
// TODO: enhance next statement to transmit getSelectedObjectName for clicked objects like favorites instead of just coordinates
|
||||
settings.insertIntermediatePoint(latitude, longitude, getString(R.string.point_on_map, latitude, longitude), sz, false);
|
||||
settings.insertIntermediatePoint(latitude, longitude, getString(R.string.point_on_map, (float) latitude, (float) longitude), sz, false);
|
||||
targets.updatePointsFromSettings();
|
||||
IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity);
|
||||
// For button-less search UI
|
||||
|
@ -813,7 +813,7 @@ public class MapActivityActions implements DialogProvider {
|
|||
// Issue 1929: Consistently show IntermediatePointDialog, without subsequent Directions screen
|
||||
//targets.navigateToPoint(new LatLon(latitude, longitude), true, -1);
|
||||
// TODO: enhance next statement to transmit getSelectedObjectName for clicked objects like favorites instead of just coordinates
|
||||
settings.setPointToNavigate(latitude, longitude, false, getString(R.string.point_on_map, latitude, longitude));
|
||||
settings.setPointToNavigate(latitude, longitude, false, getString(R.string.point_on_map, (float) latitude, (float) longitude));
|
||||
targets.updatePointsFromSettings();
|
||||
IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity);
|
||||
} else if (standardId == R.string.context_menu_item_share_location) {
|
||||
|
|
Loading…
Reference in a new issue