fix small bug
This commit is contained in:
parent
298cdba692
commit
9b37143f4a
1 changed files with 5 additions and 3 deletions
|
@ -806,9 +806,11 @@ public class MapActivityActions implements DialogProvider {
|
|||
IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity);
|
||||
// For button-less search UI
|
||||
} else if (standardId == R.string.context_menu_item_destination_point) {
|
||||
targets.navigateToPoint(new LatLon(latitude, longitude),
|
||||
true, targets.getIntermediatePoints().size());
|
||||
IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity);
|
||||
getMyApplication().getTargetPointsHelper().navigateToPoint(new LatLon(latitude, longitude), true, -1);
|
||||
// always enable and follow and let calculate it (GPS is not accessible in garage)
|
||||
if(!routingHelper.isRouteBeingCalculated() && !routingHelper.isRouteCalculated() ) {
|
||||
getDirections(null, new LatLon(latitude, longitude), true);
|
||||
}
|
||||
} else if (standardId == R.string.context_menu_item_share_location) {
|
||||
shareLocation(latitude, longitude, mapActivity.getMapView().getZoom());
|
||||
} else if (standardId == R.string.context_menu_item_add_favorite) {
|
||||
|
|
Loading…
Reference in a new issue