[Marble-devel] Re: Show GPS Position in MarbleWidget

Dennis Nienhüser dennis at nienhueser.de
Thu Apr 7 19:54:28 CEST 2011


Hi Malte,

On 05.04.2011 08:06, Malte Klug wrote:
> Hello again,
>
> I solved the issue yesterday myself. If anybody else is interested: The path specified on http://edu.kde.org/marble/current.php was incorrect for me. Instead of -I /usr/lib/kde4/plugins/marble/ it was -I /usr/local/lib/kde4/plugins/marble. Consequently the QML version of MarbleWidget is now working and I am back on trying to show the GPS position.
>
> However, I still have another question: It seems to me like the QML MarbleWidget only offers very few of the methods of the normal MarbleWidget. I checked MarbleDeclarativeWidget and for example for map interaction there is only zoomIn() and zoomOut(), neither any of the move-methods nor centerOn() is implemented. Is that on purpose or am I missing something? 

So far I mostly  implemented the things I needed for the three example
applications. In the future, all (important) properties and methods
should be exported to QML.

> I ask this because I am thinking about extending the class with some of the methods to better fit my requirements and I do not want to mess something up or implement stuff that I can find somewhere else.
zoom and move actions definitely make sense. Feel free to extend the
class and send patches. Thanks :-)

Regards,
Dennis

> Best regards
> Malte Klug



More information about the Marble-devel mailing list