diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-17 22:52:04 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-17 22:52:04 -0300 |
commit | 7509360173b7434a9cbf4c8d6542b322938407d2 (patch) | |
tree | f745e7f682b9a855d4ebfead5c33dea0f8414768 /qt-ui/globe.cpp | |
parent | 86021b24d98c385b10ccc2fefab5cf22f3a03b54 (diff) | |
download | subsurface-7509360173b7434a9cbf4c8d6542b322938407d2.tar.gz |
Prettification of the map view.
Just some prettifications, better defaults, etc.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/globe.cpp')
-rw-r--r-- | qt-ui/globe.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp index 43763e338..56c99849c 100644 --- a/qt-ui/globe.cpp +++ b/qt-ui/globe.cpp @@ -15,17 +15,19 @@ GlobeGPS::GlobeGPS(QWidget* parent) : MarbleWidget(parent), loadedDives(0) { + setMapThemeId("earth/bluemarble/bluemarble.dgml"); + //setMapThemeId("earth/openstreetmap/openstreetmap.dgml"); setProjection( Marble::Spherical ); setAnimationsEnabled(true); setShowClouds( false ); setShowBorders( false ); - setShowPlaces( false ); + setShowPlaces( true ); setShowCrosshairs( false ); setShowGrid( false ); setShowOverviewMap(false); - setShowScaleBar(false); + setShowScaleBar(true); Q_FOREACH( AbstractFloatItem * floatItem, floatItems() ){ if ( floatItem && floatItem->nameId() == "compass" ) { |