[Marble-devel] Add placemarks to MarbleWidget

marble_developer marble_developer marbledeveloper at gmail.com
Sun May 13 20:52:01 UTC 2012


Hi,

Discussing this subject with the developers on IRC I have updated my code,
now I'm using Marble::GeoDataTreeModel::addFeature() instead of
Marble::MarbleModel::setTrackedPlacemark().

My new code: http://pastebin.com/GEPim00a

But no line is shown.

What's wrong?

Regards.

2012/5/6 marble_developer marble_developer <marbledeveloper at gmail.com>

> Hi all,
>
> I hope that we could learn a lot of Marble!
>
> I'm using this code to add placemarks to MarbleWidget:
> http://pastebin.com/ggEuwhQK
>
> ui->widget is a pointer to MarbleWidget.
>
> But no line is shown. What's wrong? Can you put me an example? I have read
> about it and I have seen the documentation but is not clear for me.
>
> Best regards.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20120513/a26ea1ec/attachment.html>


More information about the Marble-devel mailing list