Marble widget

C++; QML. Integrating Marble in your C++ project is as simple as creating and using an instance of Marble::MarbleWidget. Here's a basic application: #include . The MarbleWidget owns a data model to work. This model is contained in the MarbleModel class, and it is painted by using a MarbleMap. The widget takes care. The Marble Widget is also offered as a Qt Designer plugin. If you compile Marble yourself you probably need to enable the compilation of the Qt.

MarbleWidget, the main widget in any application using the Marble framework. This widget displays a view of the earth or any other globe, depending on which. Properties. bool, isLockedToSubSolarPoint. bool, isSubSolarPointIconVisible. qreal, latitude. qreal, longitude. QString, mapThemeId. int, projection. Use Marble similar to a desktop globe; pan around and measure distances. At closer scale it becomes a world atlas, while OpenStreetMap takes you to street.

By default Marble shows a few info boxes: Overview Map, Compass and ScaleBar. But the size for the widget is very limited. Therefore we want to shrink the. you can use this code jWidget->whichFeatureAt(QPoint(["your Mouse Position"])); . Source Package: marble (ubuntu1) [universe] development files for the Marble globe widget library; libmarblewidget Marble globe widget library.