diff --git a/OsmAnd/src/net/osmand/plus/GPXUtilities.java b/OsmAnd/src/net/osmand/plus/GPXUtilities.java index 0126dbc06c..2f343aabf1 100644 --- a/OsmAnd/src/net/osmand/plus/GPXUtilities.java +++ b/OsmAnd/src/net/osmand/plus/GPXUtilities.java @@ -6,6 +6,7 @@ import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.support.annotation.ColorInt; +import android.support.annotation.Nullable; import android.text.TextUtils; import net.osmand.Location; @@ -270,6 +271,16 @@ public class GPXUtilities { public static class Metadata extends GPXExtensions { public String desc; + + @Nullable + public String getArticleTitle() { + return getExtensionsToRead().get("article_title"); + } + + @Nullable + public String getArticleLang() { + return getExtensionsToRead().get("article_lang"); + } } public static class GPXTrackAnalysis {