Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2016-04-20 16:16:47 +02:00
commit 389fb96c9f

View file

@ -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(),