Skip to content

Commit

Permalink
Fix #2469
Browse files Browse the repository at this point in the history
  • Loading branch information
crimean committed Apr 20, 2016
1 parent 9c26088 commit f4c3b25
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions OsmAnd/src/net/osmand/plus/myplaces/SelectedGPXFragment.java
Expand Up @@ -512,6 +512,12 @@ public void onListItemClick(ListView l, View v, int position, long id) {
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(),
Expand Down

0 comments on commit f4c3b25

Please sign in to comment.