Remove unnecessary changes
This commit is contained in:
parent
8b17b7dc85
commit
a704b2100d
1 changed files with 1 additions and 1 deletions
|
@ -511,7 +511,7 @@ public class MapActivityActions implements DialogProvider {
|
||||||
TargetPointsHelper tg = mapActivity.getMyApplication().getTargetPointsHelper();
|
TargetPointsHelper tg = mapActivity.getMyApplication().getTargetPointsHelper();
|
||||||
tg.clearStartPoint(false);
|
tg.clearStartPoint(false);
|
||||||
Location finishLoc = ps.get(ps.size() - 1);
|
Location finishLoc = ps.get(ps.size() - 1);
|
||||||
PointDescription point = new PointDescription(PointDescription.POINT_TYPE_GPX, result.path, "");
|
PointDescription point = new PointDescription(PointDescription.POINT_TYPE_LOCATION, result.path, "");
|
||||||
point.setName(PointDescription.getSearchAddressStr(mapActivity));
|
point.setName(PointDescription.getSearchAddressStr(mapActivity));
|
||||||
tg.navigateToPoint(new LatLon(finishLoc.getLatitude(), finishLoc.getLongitude()), false, -1, point);
|
tg.navigateToPoint(new LatLon(finishLoc.getLatitude(), finishLoc.getLongitude()), false, -1, point);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue