From ed0716de48ba61107eda235e8327c172187b7073 Mon Sep 17 00:00:00 2001 From: Dima-1 Date: Wed, 20 Jan 2021 19:57:25 +0200 Subject: [PATCH] Fix link and description --- .../src/net/osmand/plus/wikivoyage/data/TravelObfHelper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelObfHelper.java b/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelObfHelper.java index 983663f3d1..21b9e9dc37 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelObfHelper.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelObfHelper.java @@ -192,7 +192,8 @@ public class TravelObfHelper implements TravelHelper { GPXFile gpxFile = null; List 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);