NORTHARROW  Examples

Used in:  CONFIG   REQUEST  
Parent elements:  OBJECT  

<NORTHARROW Attribute Description Table

     coords ="double"
     type ="1 - 8"
     angle ="0.0 - 360.0"  [0]
     antialiasing ="true | false"  [false]
     outline ="0,0,0 - 255,255,255"
     overlap ="true | false"  [true]
     shadow ="0,0,0 - 255,255,255"
     size ="integer"  [30]
     transparency ="0.0 - 1.0"  [1.0]
>

     No child elements
</NORTHARROW >
Bold: Attribute or child element is required.


Description:


Restrictions:


Notes:


Attribute Descriptions for NORTHARROW:

Attribute Usage Back to Top
angle Angle of the northarrow in degrees. 0 degrees points to the north, and values increase moving clockwise.
antialiasing Used 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.
coords Northarrow placement location. Coordinate pair is separated by white space by default. The separator can be changed by using SEPARATORS. If using pixel coordinates, "0 0" is in the lower left corner of the map viewer area.
outline Outline color using RGB values.
overlap Determines 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 MapService.
shadow Shadow color using RGB values.
size Arrow size in pixels.
transparency Value to set percentage of transparency. 1.0 is 0 percent transparent. 0.0 is 100 percent transparent.
type Value representing northarrow type.
 

Examples for NORTHARROW:

Example 1: Back to Top
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
<REQUEST>
  <GET_IMAGE>
    <PROPERTIES>
      <ENVELOPE minx="-180" miny="-90" maxx="180" maxy="90" />
      <IMAGESIZE width="643" height="502" />
    </PROPERTIES>
    <LAYER type="acetate" name="acetate" id="acetate">
      <OBJECT units="pixel">
        <NORTHARROW type="4" size="15" coords="20 30" shadow="32,32,32" angle="0" antialiasing="True" overlap="False"/>
      </OBJECT>
    </LAYER>
  </GET_IMAGE>
</REQUEST>
</ARCXML>