This commit is contained in:
Alexey Kulish 2016-04-20 16:48:12 +03:00
parent 9c26088bbe
commit f4c3b25e34

View file

@ -512,6 +512,12 @@ public class SelectedGPXFragment extends OsmAndListFragment {
new PointDescription(PointDescription.POINT_TYPE_WPT, child.locationStart.name), new PointDescription(PointDescription.POINT_TYPE_WPT, child.locationStart.name),
false, false,
child.locationStart); 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 { } else {
settings.setMapLocationToShow(location.getLatitude(), location.getLongitude(), settings.setMapLocationToShow(location.getLatitude(), location.getLongitude(),
settings.getLastKnownMapZoom(), settings.getLastKnownMapZoom(),