Remove unnecessary changes

This commit is contained in:
Vitaliy 2020-08-29 13:59:50 +03:00
parent 8b17b7dc85
commit a704b2100d

View file

@ -511,7 +511,7 @@ public class MapActivityActions implements DialogProvider {
TargetPointsHelper tg = mapActivity.getMyApplication().getTargetPointsHelper();
tg.clearStartPoint(false);
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));
tg.navigateToPoint(new LatLon(finishLoc.getLatitude(), finishLoc.getLongitude()), false, -1, point);
}