Add a "trackName" GET parameter to the server part to let users specify
the track name in the output files.
This commit is contained in:
parent
0a8fa4df73
commit
430f2b8603
1 changed files with 4 additions and 0 deletions
|
@ -113,6 +113,10 @@ public class ServerHandler extends RequestHandler {
|
|||
String result;
|
||||
// optional, may be null
|
||||
String format = params.get( "format" );
|
||||
String trackName = params.get( "trackName" );
|
||||
if (trackName != null) {
|
||||
track.name = trackName;
|
||||
}
|
||||
|
||||
if (format == null || "gpx".equals(format))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue