This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Associate information to an item in a map

Tags: None
(comma "," separated)
lballesteros
Registered Member
Posts
24
Karma
0
Hi, I want to draw items in a map and customize some properties like icon, coordinates, etc, in resume some information that could be accessible by clicking on the item. I think the best solution for this is to create placemarks. I've keep the steps to create a placemark that are defined in the tutorial, but I've a problem, some .h files I need are out of my project's includes path, so I've include them manually, but when I compile the project I get the following error:

...
release/main.o:main.cpp:(.text+0x388): undefined reference to `Marble::GeoDataTreeModel::addDocument(Marble::GeoDataDocument*)'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [release\ejmarble2.exe] Error 1
mingw32-make: *** [release] Error 2

can someone help me?
do you think is the best way to implement items with associate information?
Thanks!!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Which version of Marble are you trying to compile?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
lballesteros
Registered Member
Posts
24
Karma
0
Version 1.2, that I've downloaded from the web, because I couldn't dowload it from repository...
lballesteros
Registered Member
Posts
24
Karma
0
I've downloaded the copy of the source code that is at the repository by the command: svn co svn://anonsvn.kde.org/home/kde/branches/marble but I think this is an old version (1.1).
Where is the latest version of marble to download it?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Marble has since migrated to Git.
It can be cloned from git://anongit.kde.org/marble


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
lballesteros
Registered Member
Posts
24
Karma
0
Thank you very much, I will clone and test it
lballesteros
Registered Member
Posts
24
Karma
0
I tested it and runs perfect with the last version, thanks.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell