Prettification of the map view.

Just some prettifications, better defaults, etc.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
Tomaz Canabrava 2013-05-17 22:52:04 -03:00
parent 86021b24d9
commit 7509360173
3 changed files with 10 additions and 7 deletions

View file

@ -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" ) {