BACKGROUND

Used in

CONFIG  REQUEST  

Servers

Image  ArcMap  

Parent elements

PROPERTIES 

Syntax

<BACKGROUNDAttribute Description Table
     (r)color="0,0,0 - 255,255,255"
     transcolor="0,0,0 - 255,255,255"
>

     No Child Elements
</BACKGROUND >
(r): Attribute or child element is required.

Description

Defines color of map's background.

Restrictions


Notes


Attribute Descriptions for BACKGROUND

AttributeUsage
colorBackground color for map using RGB values.
transcolorTransparent color in output image using RGB values. Only supported for GIF and PNG output formats.
Back to top 

Examples for BACKGROUND

Example 1: Included in the PROPERTIES section for both CONFIG and REQUEST.
<?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" />
        <FILTERCOORDSYS id="4326" />
        <FEATURECOORDSYS id="4326"/>
        <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>

Back to top