summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/globe.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp
index 014a84a09..fea564644 100644
--- a/qt-ui/globe.cpp
+++ b/qt-ui/globe.cpp
@@ -39,6 +39,8 @@ GlobeGPS::GlobeGPS(QWidget* parent) : MarbleWidget(parent), loadedDives(0)
setShowOverviewMap(false);
setShowScaleBar(true);
setShowCompass(false);
+ // set the zoom as seen from n kilometer above. 3km / 10,000ft seems pleasant
+ zoomView(zoomFromDistance(3));
}
void GlobeGPS::reload()
@@ -88,7 +90,6 @@ void GlobeGPS::centerOn(dive* dive)
prepareForGetDiveCoordinates(dive);
return;
}
-
centerOn(longitude,latitude, true);
}