Fix #2469
This commit is contained in:
parent
9c26088bbe
commit
f4c3b25e34
1 changed files with 6 additions and 0 deletions
|
@ -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(),
|
||||||
|
|
Loading…
Reference in a new issue