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
109
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: Baidu [Spider], barbaratlong, Bing [Bot], eagleton, Exabot [Bot], Google [Bot], joshfaulkner, kde-joneall, koriun, Majestic-12 [Bot], MSNbot Media, paulus3005, RockFord, sdh, Sogou [Bot], waithepreston, Yahoo [Bot]