I load in marble map a .jpg image refered by .kml file:
marbleWidget->model()->addGeoDataFile(kmlpath);
The image is loaded in marble map: with the mouse I can move (drag and drop) and resize the jpg into the map. How can I anchor at specified coordinate or better, disable mouse interaction?
Other data like [this] (https://techbase.kde.org/Marble/Runners/LoadingKML) are locked on map.
//disable Annotation rendering in order to lock ground overlay movement
for (auto rp : this->renderPlugins())
{
if(rp->name() == "Annotation")
rp->setVisible(false);
qDebug() << rp->name();
}
where "this" is the instance of your class:
class Yourclass: public MarbleWidget