QWidget *MarbleWidgetPlugin::createWidget(QWidget *parent) { Marble::MarbleWidget* marbleWidget = new Marble::MarbleWidget( parent ); marbleWidget->setMapThemeId("earth/srtm/srtm.dgml"); return marbleWidget; }
Marble::MarbleWidget* KoReportItemMaps::initMarble() { Marble::MarbleWidget* marble = new Marble::MarbleWidget(); //marble->setMapThemeId("earth/srtm/srtm.dgml"); marble->setMapThemeId("earth/openstreetmap/openstreetmap.dgml"); marble->centerOn(20.81,52.12, false); marble->zoomView(2100); marble->setShowOverviewMap(false); marble->setFixedSize(m_size.toScene().toSize()); return marble; }