MAP

Used in

CONFIG  

Parent elements

CONFIG 

Syntax

<MAPAttribute Description Table
     dynamic="true | false" [false]
     dynamicfeature="true | false" [false]
>

     (r)(m)<LAYER... />
     (r)<PROPERTIES... />
     (r)<WORKSPACES... />

</MAP >
(r): Attribute or child element is required.
(m):  Child element can be used multiple times.

Description

Describes map content in a map configuration file or a viewer configuration file.

Restrictions


Notes


Attribute Descriptions for MAP

AttributeUsage
dynamicAllows users to add layers dynamically in a GET_IMAGE or GET_EXTRACT request.
dynamicfeatureAllows users to query dynamic layers when using a GET_FEATURES request.
Back to top 

Examples for MAP

<?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"/>
      </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