English

FAQ: Can the position of a True-Type Marker Symbol be controlled in ArcIMS?

Question

Can the position of a True-Type Marker Symbol be controlled in ArcIMS?

Answer

Yes. Use the 'hotspot' attribute within the ArcXML element 'TRUETYPEMARKERSYMBOL' to position it. This is an optional way to position true-type font characters as point symbols in an ArcIMS map service layer.

The hotspot attribute is not documented in the ArcXML Programmer's Reference Guide under the TRUETYPEMARKERSYMBOL element, but it is used as described for the RASTERMARKERSYMBOL element.

Sample usage:

Code:
<LAYER type="featureclass" name="Cities" visible="true" id="Cities">
<DATASET name="cities" type="point" workspace="shp_ws-14" />
<SIMPLERENDERER>
<TRUETYPEMARKERSYMBOL transparency="1.0" font="ESRI Cartography"
fontstyle="bolditalic" character="252" fontcolor="255,255,0" fontsize="30"
hotspot="20,20" anglefield="rotate" rotatemethod="geographic" />
</SIMPLERENDERER>
</LAYER>