Clear all waypoints if navigation cancelled
This commit is contained in:
parent
c16f094c7e
commit
c7d0b0555c
1 changed files with 3 additions and 1 deletions
|
@ -778,7 +778,9 @@ public class MapActivityActions implements DialogProvider {
|
|||
routingHelper.setRoutePlanningMode(false);
|
||||
settings.LAST_ROUTING_APPLICATION_MODE = settings.APPLICATION_MODE.get();
|
||||
settings.APPLICATION_MODE.set(settings.DEFAULT_APPLICATION_MODE.get());
|
||||
//getMyApplication().getTargetPointsHelper().clearStartPoint(false);
|
||||
if (settings.USE_MAP_MARKERS.get()) {
|
||||
getMyApplication().getTargetPointsHelper().removeAllWayPoints(false);
|
||||
}
|
||||
mapActivity.updateApplicationModeSettings();
|
||||
mapActivity.getDashboard().clearDeletedPoints();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue