BACKGROUND | Examples |
<BACKGROUND | Attribute
Description Table |
color ="0,0,0 - 255,255,255"
transcolor ="0,0,0 - 255,255,255" > No Child Elements </BACKGROUND > | |
Bold: Attribute or child element is
required. |
Browser | Supported Transparent Image Formats |
---|---|
ArcIMS HTML Viewer in Internet Explorer | PNG8, GIF |
ArcIMS HTML Viewer in Netscape 4.x | GIF |
ArcIMS HTML Viewer in Netscape 6.x | PNG8, GIF |
ArcExplorer 4 | PNG24, PNG8, GIF |
ArcIMS Java Viewers in Internet Explorer and Netscape | PNG24, PNG8, GIF |
Attribute | Usage | Back to Top |
---|---|---|
color | 1 Background color for map using RGB values. | |
transcolor | 2 Transparent color in output image using RGB values. Only supported for GIF and PNG output formats. |
Example 1: Included in the PROPERTIES section for both CONFIG and REQUEST. | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <CONFIG> <ENVIRONMENT> <LOCALE country="US" language="en" variant="" /> <UIFONT color="0,0,0" name="Arial" size="12" style="regular" /> <SCREEN dpi="96" /> </ENVIRONMENT> <MAP> <PROPERTIES> <ENVELOPE minx="-178.21" miny="18.92" maxx="-66.96" maxy="71.41" name="Initial_Extent" /> <MAPUNITS units="decimal_degrees" /> <BACKGROUND color="255,255,255" transcolor="255,255,255"/> </PROPERTIES> <WORKSPACES> <SHAPEWORKSPACE name="shp_ws-0" directory="<path to USA ESRIDATA>"/> </WORKSPACES> <LAYER type="featureclass" name="CITIES" visible="true" id="2"> <DATASET name="CITIES" type="point" workspace="shp_ws-0" /> <SIMPLERENDERER> <SIMPLEMARKERSYMBOL type="square" width="5" /> </SIMPLERENDERER> </LAYER> </MAP> </CONFIG> </ARCXML> |