The <map-background> element is used to set the background color of the map.
The default background color of the map is white. The transparency can also be
set so that the pixels of the map that match the background color are transparent.
| Frequency |
Parent Elements (the <map-background> element is valid within): |
|
POS1 |
<site-config> |
| |
|
|
| Frequency |
Description (in this context) |
|
POS1 |
The <map-background> element may appear once in the <site-config>
element in the specified sequence.
|
| |
|
|
|
Attributes |
Description |
|
color |
The color of the map background using comma-separated RGB values. Required.
|
|
transparent |
An indicator of whether the background color should be transparent. Valid
values are "true" or "false". If you are using WMS layers under the ArcIMS image,
be sure to set this to true. Required.
|
| |
|
|
Example:
<!-- Use a different layer script -->
<map-background color="255,255,255" transparent="true"/>