[Marble-devel] Add placemarks to MarbleWidget

marble_developer marble_developer marbledeveloper at gmail.com
Sun May 13 22:32:09 UTC 2012


Hi,

I have used this another code and works fine:  http://paste.kde.org/477488/

Regards!

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

> 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/20120514/b432fcc1/attachment-0001.html>


More information about the Marble-devel mailing list