[Marble-devel] FlightGear MultiPlayer map
Peter Morgan
pedromorgan at gmail.com
Mon Nov 25 03:51:53 UTC 2013
I'm working on a marble version of the multiplayer map..
(online = http://mpmap02.flightgear.org/)
I've got a "painter version" working ie painting onto the marblewidget
itself..
https://github.com/fgx/fgx/blob/marble13/src/map/xmarblewidget.cpp#L35
But what I want is to have a clickable item
So am unsure what to do now....
Should I use Placemarks ?
How would I move them ?
How should i draw the "lines" of the flight track ?
and I am stuck.. with experimenting with the placemarks..
as I cant seems to add the placemarks ...
I can add .. one in the constructor
https://github.com/fgx/fgx/blob/2b264ac5230a7592f5d6dda559f0e49ee64fc5db/src/map/mapcorewidget.cpp#L342
But attempts to just add some later.. fail..
they just do not appear
https://github.com/fgx/fgx/blob/2b264ac5230a7592f5d6dda559f0e49ee64fc5db/src/map/mapcorewidget.cpp#L590
If anyone can offer some help or tips to get me started it would be greatly
appreciated.
tia
Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20131125/ed983e71/attachment.html>
More information about the Marble-devel
mailing list