Jump to content

Marble/Placemark: Difference between revisions

From KDE Community Wiki
Tgridel (talk | contribs)
Created page with '== Overview of Placemarks in Marble == The {{class|PlaceMarkManager|kdeedu|4.2}} is handled by the {{class|MarbleModel|kdeedu|4.2}} and provides registration of KML data files f...'
 
Tgridel (talk | contribs)
No edit summary
Line 4: Line 4:


It uses a {{class|PlaceMarkLoader|kdeedu|4.2}} to perform the file reading thanks to a {{class|GeoDataParser|kdeedu|4.2}}.
It uses a {{class|PlaceMarkLoader|kdeedu|4.2}} to perform the file reading thanks to a {{class|GeoDataParser|kdeedu|4.2}}.
The PlaceMarkManager keeps some information related to the files and data that it read. It provides
* a list of file names
* a {{class|FileViewModel|kdeedu|4.2}} which presents the list of files
* a {{class|MarblePlacemarkModel|kdeedu|4.2}} which presents the list of all placemarks of all files
* a {{class|MarbleGeometryModel|kdeedu|4.2}} which represents the list of all files' in-memory representation as {{class|GeoDataDocument|kdeedu|4.2}}.

Revision as of 21:04, 22 July 2009

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.