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

removing a gpx file

Tags: None
(comma "," separated)
aassaa
Registered Member
Posts
15
Karma
0

removing a gpx file

Thu Apr 04, 2013 3:23 pm
Hi,
I'm new at marble - I'm using it in my program. (I downloaded the opensouce code)
I couldn't find an answer to the next question:

I'm adding a new gpx file to my map:
marbleWidget->model()->addGeoDataFile(gpxPath);

and then I can see the gpx path on the map, but I cant remove this path, and add another one.
How can I do this - change my gpx file that is shown on the map?
what functions sould I use?

thanks In advance!!
User avatar
Earthwings
KDE Developer
Posts
172
Karma
1
OS

Re: removing a gpx file  Topic is solved

Thu Apr 04, 2013 4:44 pm
Please use MarbleModel::removeGeoData(QString). The parameter is the filename you used in addGeoDataFile(QString).


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]