Change the way intermediate point added
This commit is contained in:
parent
02b1ff2978
commit
0daa278bd1
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ public class MapActivityActions implements DialogProvider {
|
|||
|
||||
public void addAsTarget(double latitude, double longitude, PointDescription pd) {
|
||||
TargetPointsHelper targets = getMyApplication().getTargetPointsHelper();
|
||||
targets.navigateToPoint(new LatLon(latitude, longitude), true, -1,
|
||||
targets.navigateToPoint(new LatLon(latitude, longitude), true, targets.getIntermediatePoints().size() + 1,
|
||||
pd);
|
||||
openIntermediateEditPointsDialog();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue