Marble Virtual Globe for Developers - Factsheet

810 views
750 views

Published on

Marble Virtual Globe for Developers - Factsheet for Version 1.2

Published in: Education, Business, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
810
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Marble Virtual Globe for Developers - Factsheet

  1. 1. #include <QtGui/QApplication>#include <marble/MarbleWidget.h>using namespace Marble;int main(int argc, char** argv){ QApplication app(argc,argv); // Create a Marble QWidget without a parent MarbleWidget *mapWidget = new MarbleWidget(); // Load the OpenStreetMap map mapWidget->setMapThemeId( "earth/openstreetmap/openstreetmap.dgml" ); mapWidget->show(); return app.exec();}g++ -I /usr/include/qt4/ -o my_marblemy_marble.cpp -lmarblewidget -lQtGui

×