74. Map Themes

75. Installing Map Themes

Additional map themes can be installed in the directory data\maps\earth based on the installation directory.

Open the Little Navmap map installation folder using the menu Tools -> Show Map Installation Directory. This will open Windows Explorer, Apple Finder or any other default file manager showing the installation place.

New maps come as downloads with different directory structures. Some contain the base folder data\maps\earth and some do not. In any case copy the maps into the installation folder so that the .dgml files are on the same level as the included maps.

The example below shows a installation of a map theme NEWMAP including parts of the “neighbouring” maps:
... \ Little Navmap \ data \ maps \ earth \ ...
... \ Little Navmap \ data \ maps \ earth \ maptilertopo  \ ...
... \ Little Navmap \ data \ maps \ earth \ maptilertopo  \ maptilertopo.dgml

... \ Little Navmap \ data \ maps \ earth \ NEWMAP        \ 0\0\0.png
... \ Little Navmap \ data \ maps \ earth \ NEWMAP        \ NEWMAP-preview.png
... \ Little Navmap \ data \ maps \ earth \ NEWMAP        \ NEWMAP.dgml

... \ Little Navmap \ data \ maps \ earth \ openstreetmap \ ...
... \ Little Navmap \ data \ maps \ earth \ openstreetmap \ openstreetmap.dgml
... \ Little Navmap \ data \ maps \ earth \ ...
_images/maptheme_installation.png

Resulting folder structure of the installation of the map us-vfr-sectionals in Windows Explorer. Click image to enlarge.

Note

Keep in mind that you have to save and re-install the additional maps after the installation of each Little Navmap update.

76. Creating Map Themes

To add an arbitrary online or offline map to Little Navmap simply add the map directory from a downloaded or self created map theme to the data\maps\earth directory.

Note that you need to restart Little Navmap to see the new map themes in the menu.

The full path to the DGML file (see links below for more details about DGML) describing the map must be ...\Little Navmap\data\maps\earth\opencyclemap\opencyclemap.dgml if you like to add the OpenCycleMap for example. The DGML file can refer to an online map service or included offline map data. Usually a map theme contains many more files than only the DGML.

The menu View -> Theme in the main menu and the toolbar drop down box will receive an entry for each additional map theme.

The option Show Country and City Names is enabled for all additional map themes but might not work depending on properties defined in the map’s DGML file.

See the comments in the included file data\maps\earth\example\example.dgml or here online example.dgml for more information.

More maps and information about map configuration and DGML files can be found here on the Marble and KDE pages: