From f4c3b25e3495d169ace598d5bfdbc43b84d77950 Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Wed, 20 Apr 2016 16:48:12 +0300 Subject: [PATCH] Fix #2469 --- .../src/net/osmand/plus/myplaces/SelectedGPXFragment.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/myplaces/SelectedGPXFragment.java b/OsmAnd/src/net/osmand/plus/myplaces/SelectedGPXFragment.java index 85ce46fe64..44719bec1e 100644 --- a/OsmAnd/src/net/osmand/plus/myplaces/SelectedGPXFragment.java +++ b/OsmAnd/src/net/osmand/plus/myplaces/SelectedGPXFragment.java @@ -512,6 +512,12 @@ public class SelectedGPXFragment extends OsmAndListFragment { new PointDescription(PointDescription.POINT_TYPE_WPT, child.locationStart.name), false, child.locationStart); + } else if (child.group.getType() == GpxDisplayItemType.TRACK_ROUTE_POINTS) { + settings.setMapLocationToShow(location.getLatitude(), location.getLongitude(), + settings.getLastKnownMapZoom(), + new PointDescription(PointDescription.POINT_TYPE_WPT, child.name), + false, + child.locationStart); } else { settings.setMapLocationToShow(location.getLatitude(), location.getLongitude(), settings.getLastKnownMapZoom(),