added export for corrected via points

This commit is contained in:
afischerdev 2025-04-05 18:08:46 +02:00
parent e3361cc113
commit 2682981da9
6 changed files with 24 additions and 0 deletions

View file

@ -78,6 +78,10 @@ public class ServerHandler extends RequestHandler {
if (exportWaypointsStr != null && Integer.parseInt(exportWaypointsStr) != 0) {
track.exportWaypoints = true;
}
exportWaypointsStr = params.get("exportCorrectedWaypoints");
if (exportWaypointsStr != null && Integer.parseInt(exportWaypointsStr) != 0) {
track.exportCorrectedWaypoints = true;
}
if (format == null || "gpx".equals(format)) {
result = new FormatGpx(rc).format(track);