GSoC/GCI Archive
Google Code-in 2010 KDE

Create a legend for the Worldmap case of the Map Creation Wizard

completed by: Utku Aydın

mentors: tackat

 

The Map Creation Wizard

http://reviewboard.kde.org/r/6070/

lacks creation of a legend.

This task is about the creation of a simple legend page for the Worldmap case.

As a last page in the wizard before entering the metadata of the map theme (name, description, etc.) a legend page is created which should look like this:

 

======================================

Map

Please enter the location of the bitmap that provides the look and feel for the map key:

File name: [________________________] [...]

 

[Back]                                                       [Next]

======================================

 

This legend image  can then be saved  and be embedded via HTML syntax into the legend.html that is generated for the theme. For an example of use for the legend.html see the Historic map (~/.local/share/marble/maps/earth/faden1786/legend.html).