"mapThemeId"
Allows you to select one of the predefined map themes to be shown.
Synopsis
shape.mapThemeId(string themeId);
Parameters
| Parameter | Description |
|---|---|
| themeId |
Relative path to the .dgml file of the map theme. Following themes are provided with the Maps Widget and located within the "data/marble/maps/" directory of the version:
|
Details
Additional themes can be manually added to the Maps Widget, see Configuration - Map Themes.
The themes must be selected by stating the relative path to either the project directory "data/maps/maps/" or the version directory "data/marble/maps/" to the .dgml file of the map theme.
Note that additional folders within the version, e.g. "clouds" or "humanitarian" cannot be used as a map theme but are referenced by other map themes.
For downloading the map material it is also necessary to set the property workOffline to false.
