Merge pull request #4597 from osmandapp/measurement_distance_fix

Fix saving snap to road
This commit is contained in:
Alexey 2017-10-17 18:26:06 +03:00 committed by GitHub
commit 1c1c541852

View file

@ -665,7 +665,7 @@ public class MeasurementToolFragment extends Fragment {
return new SaveAsNewTrackFragmentListener() {
@Override
public void saveAsRoutePointOnClick() {
saveAsGpx(SaveType.ROUTE_POINT);
saveAsGpx(editingCtx.isInSnapToRoadMode() ? SaveType.SNAP_TO_ROAD : SaveType.ROUTE_POINT);
}
@Override