Marble/Placemark

From KDE TechBase
Revision as of 21:04, 22 July 2009 by Tgridel (talk | contribs)

Overview of Placemarks in Marble

The PlaceMarkManager is handled by the MarbleModel and provides registration of KML data files for Marble (it should handle all data files in the future).

It uses a PlaceMarkLoader to perform the file reading thanks to a GeoDataParser.

The PlaceMarkManager keeps some information related to the files and data that it read. It provides

* a list of file names
* a FileViewModel which presents the list of files
* a MarblePlacemarkModel which presents the list of all placemarks of all files
* a MarbleGeometryModel which represents the list of all files' in-memory representation as GeoDataDocument.