Fix link and description
This commit is contained in:
parent
1fdb5c68f6
commit
ed0716de48
1 changed files with 2 additions and 1 deletions
|
@ -192,7 +192,8 @@ public class TravelObfHelper implements TravelHelper {
|
|||
GPXFile gpxFile = null;
|
||||
List<Amenity> pointList = getPointList(article);
|
||||
if (!Algorithms.isEmpty(pointList)) {
|
||||
gpxFile = new GPXFile(article.getTitle(), article.getLang(), "");
|
||||
gpxFile = new GPXFile(article.getTitle(), article.getLang(), article.getContent());
|
||||
gpxFile.metadata.link = TravelArticle.getImageUrl(article.getImageTitle(), false);
|
||||
for (Amenity amenity : pointList) {
|
||||
WptPt wptPt = createWptPt(amenity, article.getLang());
|
||||
gpxFile.addPoint(wptPt);
|
||||
|
|
Loading…
Reference in a new issue