Java Connector Tag Library for ArcIMS 9.2  

acetateObject


Used in

mapping  

Nested in

aims:createLayer  

Syntax

<aims:acetateObjectAttribute Description Table

     Attributes that set values:

     When using ArcMap Server:
     units="database | pixel" [database]

     When using Image Server:
     lower="string" [1:1]
     units="database | pixel" [database]
     upper="string" [1:infinity]
>

     <aims:coordSys... />
     <aims:line... />
     <aims:northArrow... />
     <aims:point... />
     <aims:polygon... />
     <aims:scalebar... />
     <aims:text... />

</aims:acetateObject >

Description


Restrictions


Attribute Descriptions for acetateObject

AttributeUsage
unitsDetermines how coordinates for the object are specified. Coordinates can be specified two ways:
  • Database. Refers to positioning an object using x,y coordinates in the coordinate system of the ArcIMS service or request. For example, if the service is in Robinson, then the coordinates for the object should also be in Robinson. If the coordinates for the object are different from the coordinate system used in the service or request, then aims:coordSys should be used.

        <aims:acetateObject...>
          <aims:coordSys.../>
          ...
        </aims:acetateObject>

  • Pixel. Refers to positioning an object using x,y coordinates in pixels. The pixels along the left edge of the map frame have an x-coordinate of zero. The pixels along the bottom edge have a y-coordinate of zero. /UL>
lowerMinimum scale to display Acetate Object using a relative scale such as 1:24000. Scale can also be calculated as the number of map units per pixel.
unitsDetermines how coordinates for the object are specified. Coordinates can be specified two ways:
  • Database. Refers to positioning an object using x,y coordinates in the coordinate system of the ArcIMS service or request. For example, if the service is in Robinson, then the coordinates for the object should also be in Robinson. If the coordinates for the object are different from the coordinate system used in the service or request, then aims:coordSys should be used.

        <aims:acetateObject...>
          <aims:coordSys.../>
          ...
        </aims:acetateObject>

  • Pixel. Refers to positioning an object using x,y coordinates in pixels. The pixels along the left edge of the map frame have an x-coordinate of zero. The pixels along the bottom edge have a y-coordinate of zero. /UL>
upperMaximum scale to display Acetate Object using a relative scale such as 1:24000. Scale can also be calculated as the number of map units per pixel.
Back to top
 

Examples for acetateObject

Example 1:  
<aims:tcpConnection id="myTCPConnection" host="myMachine" port="5300"/>
<aims:mapService id="myMapService" connectionId="<%=myTCPConnection%>" name="serviceName" />

<aims:map id="myMap" serviceId="<%=myMapService%>" width="300" height="200" background="100,140,230" transcolor="0,0,0">
  <aims:createLayer layerId="LayerNorthArrow" name="AcetateLayer" type="acetate" visible="true">
    <aims:acetateObject units="pixel">
      <aims:northArrow x="50" y="50" type="3" shadow="230,230,230" />
    </aims:acetateObject>
    <aims:acetateObject units="pixel">
      <aims:line coords="50 10;250 10" >
        <aims:hashLineSymbol color="0,0,0" lineThickness="3" tickThickness="3" transparency="0.5" interval="16" width="16" type="foreground" antialiasing="false" overlap="true" />
      </aims:line>
    </aims:acetateObject>
  </aims:createLayer>
</aims:map>
<img src="<%=(myMap)%>" />
Back to top