Reply to topic

removing a gpx file

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
89
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).

 
Reply to topic

Bookmarks



Who is online

Registered users: 16777216, Baidu [Spider], Bing [Bot], Buddlespit, eddiej, Exabot [Bot], garthecho, Google [Bot], Hans, housepig, irisuser, La Ninje, Majestic-12 [Bot], neilh, orbmiser, paulmcvay, qwach, searchfgold6789, Sentynel, soldier9599, tparrott, veqz, Yahoo [Bot]