[Marble-devel] Problem removing placemark data

Michael G. Hansen mikeml2 at pfna.de
Sat Aug 22 11:01:37 CEST 2009


Hi,

I am trying to add and later remove placemark data.

First, I add the placemark data:
addPlacemarkData("<?xml version=\"1.0\" encoding=\"UTF-8\"?><kml
xmlns=\"http://earth.google.com/kml/2.0\"><Document><Placemark>
<description></description>  <name>Test-placemark</name>  <Point>
<coordinates>-26.5,57.3,0</coordinates>
</Point></Placemark></Document></kml>", "testdata");

And the point is shown on the map. However, when I remove it:
removePlacemarkKey("testdata");

It is still shown on the map. The same happens when I load the data from
a file:
addPlacemarkFile("/c/temp/src/trippy/kde-devel-locations.kml");
removePlacemarkKey("/c/temp/src/trippy/kde-devel-locations.kml");

Any clues? I am using Marble 0.8 on KDE 4.3 on debian amd64 with Qt 4.5.2-2

Thanks,

Michael


More information about the Marble-devel mailing list