The <theme> element is used to define multiple sites or views to be displayed on
the Themes page. If themes are used, the title, tools, layers, etc. will be changed
to an alternate set defined in a site configuration XML file when the theme is selected.
If the same-extent attribute is set to true, the new site will open at the same map
extent as when called. This is useful for displaying an alternate view or data set of
the same area.
| Frequency |
Parent Elements (this element is valid within): |
|
PR1+ |
<theme-config> |
| |
|
|
|
Attributes |
Description |
|
description |
The description of the theme. Required.
|
|
name |
The name of the theme. Required.
|
|
same-extent |
Specifies whether the map extent stays the same or if it reverts to the extent of the map service or site configuration XML when the map is reloaded. If same-extent="true", then the extent stays the same. Defaults to true.
|
|
site-config-xml |
The URL to the site configuration XML file that specifies how the theme is configured. Required.
|
| |
|
|
| Frequency |
Description (in this context) |
|
PR1+ |
One or more themes must be defined within the theme-config element. |
| |
|
|