directions should not delete waypoints (2nd)
This commit is contained in:
parent
ab91ddbba5
commit
808f85dfcd
1 changed files with 0 additions and 4 deletions
|
@ -1259,10 +1259,6 @@ public class MapActivityActions implements DialogProvider {
|
||||||
//targetPointsHelper.setSingleDestination(location.getLatitude(), location.getLongitude(), name);
|
//targetPointsHelper.setSingleDestination(location.getLatitude(), location.getLongitude(), name);
|
||||||
getMyApplication().getSettings().setPointToNavigate(location.getLatitude(), location.getLongitude(), true, name);
|
getMyApplication().getSettings().setPointToNavigate(location.getLatitude(), location.getLongitude(), true, name);
|
||||||
targetPointsHelper.updatePointsFromSettings();
|
targetPointsHelper.updatePointsFromSettings();
|
||||||
// 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);
|
|
||||||
}
|
|
||||||
MapActivity.launchMapActivityMoveToTop(activity);
|
MapActivity.launchMapActivityMoveToTop(activity);
|
||||||
qa.dismiss();
|
qa.dismiss();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue