Themes
A theme is the look of the map: colors, line styles, how the relief is drawn. A bake writes the map data once, and one style file per theme below, so you can switch without baking again.
Bundled themes
Theme |
Look |
|---|---|
Topographic |
The default. Pale background, colored elevation bands, contour lines and shaded relief. |
Tanaka |
Contour lines of varying width and brightness, so the relief looks lit from one side. |
Paper cut |
Stacked sheets of paper with soft shadows, one per altitude. |
OpenStreetMap |
The familiar light web-map look. |
Parchment |
Warm sand background, like an old map. |
Tactical |
Near-black background, for a military or night-vision feel. |
Cartoon |
Bright green land and flat colors. |
Switch the theme
In the Worldprint window, open Theme and pick one. The preview changes at once, and so does the map you add with Add Map to Scene.
For a map already in your scene, select its MapView and use Theme in the Inspector. It lists the themes of
that map’s folder.
From code
Pass the path of the style file, relative to StreamingAssets:
map.LoadStyle("Worldprint/MyScene/style-tanaka.json");
style.json is Topographic. The other files are style-tanaka.json, style-papier.json (Paper cut),
style-osm.json, style-parchemin.json (Parchment), style-tactique.json (Tactical) and
style-cartoon.json.
Your own theme
Click New Custom Style in the window. It copies the current theme next to the map and adds it to the Theme list. See Your own style.