update import of way point names
This commit is contained in:
parent
8190aaa92d
commit
d43edb311d
2 changed files with 20 additions and 19 deletions
|
|
@ -109,8 +109,8 @@ public class ServerHandler extends RequestHandler {
|
|||
}
|
||||
}
|
||||
|
||||
wplist.get(0).name = "from";
|
||||
wplist.get(wplist.size() - 1).name = "to";
|
||||
if (wplist.get(0).name.startsWith("via")) wplist.get(0).name = "from";
|
||||
if (wplist.get(wplist.size() - 1).name.startsWith("via")) wplist.get(wplist.size() - 1).name = "to";
|
||||
|
||||
return wplist;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue