Skip to content

Commit

Permalink
Merge pull request #84 from JimmyS83/iGO-name-route
Browse files Browse the repository at this point in the history
Add route name to the Waypoints to allow show route name in mobile de…
  • Loading branch information
cpesch authored Oct 11, 2023
2 parents 0e7d39c + 9ddd71a commit 2e8c305
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ private String trimLineFeedsAndCommas(String line) {
private FolderType createWayPoints(KmlRoute route, int startIndex, int endIndex) {
ObjectFactory objectFactory = new ObjectFactory();
FolderType folderType = objectFactory.createFolderType();
folderType.setName(WAYPOINTS);
folderType.setName(route.getName());
List<KmlPosition> positions = route.getPositions();
for (int i = startIndex; i < endIndex; i++) {
KmlPosition position = positions.get(i);
Expand Down

0 comments on commit 2e8c305

Please sign in to comment.