private void showGpxOnMap(final GPXUtilities.GPXFile result) { application.setGpxFileToDisplay(result, true); final GPXUtilities.WptPt moveTo = result.findPointToShow(); if (moveTo != null) { mapView .getAnimatedDraggingThread() .startMoving(moveTo.lat, moveTo.lon, mapView.getZoom(), true); } mapView.refreshMap(); }