OTHER | Examples |
<OTHER | Attribute
Description Table |
label ="string"
> When parent element is VALUEMAPLABELRENDERER: <CALLOUTMARKERSYMBOL... /> [Or] <CHARTSYMBOL... /> [Or] <RASTERSHIELDSYMBOL... /> [Or] <SHIELDSYMBOL... /> [Or] <TEXTSYMBOL... /> [Or] When parent element is VALUEMAPRENDERER: <GRADIENTFILLSYMBOL... /> [Or] <HASHLINESYMBOL... /> [Or] <RASTERFILLSYMBOL... /> [Or] <RASTERMARKERSYMBOL... /> [Or] <SIMPLELINESYMBOL... /> [Or] <SIMPLEMARKERSYMBOL... /> [Or] <SIMPLEPOLYGONSYMBOL... /> [Or] <TRUETYPEMARKERSYMBOL... /> [Or] </OTHER > | |
Bold: Attribute or child element is
required. |
Attribute | Usage | Back to Top |
---|---|---|
label | Label for legend. |
Example 1: When in CONFIG or 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="-180" miny="-90" maxx="180" maxy="90" name="Initial_Extent" /> <MAPUNITS units="decimal_degrees" /> </PROPERTIES> <WORKSPACES> <SHAPEWORKSPACE name="shp_ws-0" directory="<path to WORLD ESRIDATA>"/> </WORKSPACES> <LAYER type="featureclass" name="Zoning" visible="true" id="1" minscale="1:20000" maxscale="1:30000"> <DATASET name="ZONING" type="polygon" workspace="shp_ws-48" /> <VALUEMAPRENDERER lookupfield="ZONE"> <EXACT value="RA-MH" label="RA-MH"> <SIMPLEPOLYGONSYMBOL fillcolor="206,171,88" filltype="solid" boundarycolor="206,171,88" /> </EXACT> <EXACT value="O&R-2" label="O&R-2"> <SIMPLEPOLYGONSYMBOL fillcolor="216,11,254" filltype="solid" boundarycolor="216,11,254" /> </EXACT> <OTHER> <SIMPLEPOLYGONSYMBOL fillcolor="128,128,128" boundarycolor="0,0,0" /> </OTHER> </VALUEMAPRENDERER> </LAYER> </MAP> </CONFIG> </ARCXML> |
Example 2: When using a label with OTHER (available for image MapServices in an HTML viewer only). | 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.215027" miny="18.924782" maxx="-66.969849" maxy="71.406647" name="Initial_Extent" /> <MAPUNITS units="decimal_degrees" /> </PROPERTIES> <WORKSPACES> <SHAPEWORKSPACE name="shp_ws-0" directory="<path to USA ESRIDATA>" /> </WORKSPACES> <LAYER type="featureclass" name="STATES" visible="true" id="0"> <DATASET name="STATES" type="polygon" workspace="shp_ws-0" /> <VALUEMAPRENDERER lookupfield="STATE_ABBR"> <EXACT value="NV;NE;ND;NC;NY;NH;NJ;NM" label="States with N"> <SIMPLEPOLYGONSYMBOL fillcolor="27,27,127" filltype="solid" /> </EXACT> <EXACT value="MT;ME;MA;MD;MS;MO;MI;MN" label="States with M"> <SIMPLEPOLYGONSYMBOL fillcolor="227,227,227" filltype="solid" /> </EXACT> <OTHER label="All Other States"> <SIMPLEPOLYGONSYMBOL fillcolor="127,27,27" filltype="solid" /> </OTHER> </VALUEMAPRENDERER> </LAYER> </MAP> </CONFIG> </ARCXML> |