GSoC/GCI Archive
Google Code-in 2013 KDE

Integrate KML tours with map themes and allow starting a tour from the legend

completed by: Mikhail Ivchenko

mentors: Torsten Rahn, Dennis Nienhüser

Marble is a virtual globe and world atlas — your Swiss army knife for maps. Find your way and explore the world!

We are working on integrating support for KML Tours into Marble. The user interface will be a panel (like Routing, Map View, ...) where a tour can be loaded from a .kml file, edited, played and also recorded to a movie file. To integrate tours with the rest of Marble this task should explore the possibility to distribute one or more .kml files with tours along a map theme. It should be possible to include the tour in the legend of that map theme such that the user can start it directly from there.

  • Place a sample .kml file with a Tour inside in one of the local map theme directories (e.g. ~/.local/share/marble/maps/earth/openstreetmap/sample-tour.kml)
  • Modify the legend of the .dgml to reference that tour. Inside Marble there should be a link or a button which the user can click to start that tour
  • When the link/button is clicked, the location of the tour file (using MarbleDirs) should be determined, the .kml file loaded in the Tour panel and the tour should be started directly. This might work via a special tour:// protocol in the link or some other means (javascript?). Marble's legend needs to be prepared to handle it correctly. Try to find an elegant solution.

Helpful links: