SIMPLEMARKERSYMBOL

Used in

CONFIG  REQUEST  RESPONSE  

Servers

Image  Feature  ArcMap  

Parent elements

EXACT  LINE  OBJECT  OTHER  POINT  POLYGON  RANGE  SIMPLERENDERER 

Syntax

<SIMPLEMARKERSYMBOLAttribute Description Table

     When using ArcMap Server:
     color="0,0,0 - 255,255,255" [0,0,0]
     outline="0,0,0 - 255,255,255"
     type="circle | triangle | square | cross | star" [circle]
     width="1 - NNN" [3]

     When using Image or Feature Server:
     antialiasing="true | false" [false]
     color="0,0,0 - 255,255,255" [0,0,0]
     outline="0,0,0 - 255,255,255"
     overlap="true | false" [true]
     shadow="0,0,0 - 255,255,255"
     transparency="0.0 - 1.0" [1.0]
     type="circle | triangle | square | cross | star" [circle]
     usecentroid="true | false"
     width="1 - NNN" [3]
>

     No Child Elements
</SIMPLEMARKERSYMBOL >

Description

Symbolizes point features using one of the predefined symbol types: circle, triangle, square, cross, or star.

Restrictions


Attribute Descriptions for SIMPLEMARKERSYMBOL

AttributeUsage
antialiasingUsed to make edges of labels and symbols smoother. When set to "true", antialiasing is active. Note that the time to generate a map may significantly increase when antialiasing is turned on.
colorSymbol color using RGB values.
outlineOutline color using RGB values.
overlapDetermines if labels can overlap this symbol. When "true", labels can overlap. When "false", labels will not overlap the symbol. If labels are not drawing as expected, check if overlap is set to "false" for this symbol or any other symbol in the ArcIMS service.
shadowShadow color using RGB values.
transparencyValue to set percentage of transparency. 1.0 is 0 percent transparent. 0.0 is 100 percent transparent.
typeSymbol type.
usecentroidThe default value for this attribute is "true" for Image Services and "false" for Feature Services. When "false", a marker symbol used on polygon layers draws markers at all polygon vertices. When "true", a marker is placed in the centroid of the polygon. If multiple polygon parts exist, the marker falls on the part with the biggest area. This attribute not valid with acetate layers.
widthSymbol width in pixels.
Back to top 

Examples for SIMPLEMARKERSYMBOL

<?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" />
        <FILTERCOORDSYS id="4326" />
        <FEATURECOORDSYS id="4326"/>
      </PROPERTIES>
      <WORKSPACES>
         <SHAPEWORKSPACE name="shp_ws-0" directory="<path to WORLD ESRIDATA>"/>
      </WORKSPACES>
      <LAYER type="featureclass" name="cities" visible="true" id="1">
        <DATASET name="cities" type="point" workspace="shp_ws-0" />
        <SIMPLERENDERER>
          <SIMPLEMARKERSYMBOL transparency="1.0" color="0,255,0" type="square" width="16" shadow="0,0,0" outline="255,0,0" antialiasing="true" overlap="true"/>
        </SIMPLERENDERER>
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>

Example 2: When using usecentroid with a polygon layer.
<?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.0" miny="-90.0" maxx="180.0" maxy="83.59603881835938" name="Initial_Extent" />
        <MAPUNITS units="decimal_degrees" />
        <FILTERCOORDSYS id="4326" />
        <FEATURECOORDSYS id="4326"/>
      </PROPERTIES>
      <WORKSPACES>
        <SHAPEWORKSPACE name="shp_ws-6" directory="<path to WORLD ESRIDATA>" />
      </WORKSPACES>
      <LAYER type="featureclass" name="CNTRY94" visible="true" id="0">
        <DATASET name="CNTRY94" type="polygon" workspace="shp_ws-6" />
        <GROUPRENDERER>
          <SIMPLERENDERER>
            <SIMPLEPOLYGONSYMBOL fillcolor="127,227,227" />
          </SIMPLERENDERER>
          <SIMPLERENDERER >
            <SIMPLEMARKERSYMBOL usecentroid="true" color="127,127,227" width="18" />
          </SIMPLERENDERER>
        </GROUPRENDERER>
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>

Back to top