RasterMarkerSymbol

In this section:

The RasterMarkerSymbol setting is used to symbolize point features on a map using a specified raster image. Default parameter values are indicated in brackets [ ].

In the legend of ArcGIS Server (ArcIMS) Java Viewers and ArcExplorer 4, the swatch showing a symbol is limited in size. Images greater than approximately 16x16 pixels in size are truncated to fill the swatch. The full image displays on the map.

Acceptable image formats include JPG and GIF.


Top of page

x
setAntialiasing

Use setAntialiasing to make the edges of a raster image smoother by padding pixels with intermediate colors. When set to true, antialiasing is active.

Note: When antialiasing is active, the time to generate a map increases.

Parameters:

setAntialiasing="true|false" [false]

Top of page

x
setHotSpot

Use setHotSpot to specify the hotspot value of a raster image that serves as a marker symbol. Determines where marker symbol is placed in relation to actual x,y location of the point the marker symbol represents. A hotspot of 0,0 places the point at the top left corner of the marker symbol. X,y coordinates are positive and measured in pixels. The default hotspot centers the marker symbol over the point based on its actual size. For example, if a marker symbol is 16x16 pixels, the default location is 8,8. If the size attribute is set to 32x32, the default hotspot center is still 8,8.

Parameters:

setHotSpot="0,0-N,N" [centered]

Top of page

x
setImage

Use setImage to specify the location of the raster image. The ArcGIS (ArcIMS) Spatial Server uses this path name to find the image and add it to the map. UNC path names can also be used (for example, \\myComputer\arcims\output).

Parameters:

setImage="C:/ArcIMS/symbols/marker.jpg"

Top of page

x
setOverlap

Use setOverlap to specify the overlap value of the raster image, which determines if labels can overlap this symbol. When set to true, labels can overlap. When set to false, labels will not overlap a raster image.

Parameters:

setOverlap="true|false" [true]

Top of page

x
setShadow

Use setShadow to specify the shadow color value of a raster image.

Parameters:

setShadow="0,0,0-255,255,255" [no default]

Top of page

x
setSize

Use setSize to resize the raster image using pixel dimensions. The default size is the actual width and height of the marker symbol. If size="0,0" is specified, the ImageServer writes a warning message to the log file and uses the default size settings.

Parameters:

setSize="1,1-N,N" [no default]

Top of page

x
setTransparency

Use setTransparency to specify the transparency value for a raster image.

Parameters:

setTransparency="0.0-1.0" [1.0]

Note: 1.0 is 0 percent transparent and 0.0 is 100 percent transparent.


Top of page

x
setURL

Use setURL to specify the URL location of a raster image.

Parameters:

setURL="http://www.mapper.com/symbols/marker.jpg"

Top of page

x
setUseCentroid

Use setUseCentroid to specify the UseCentroid value of a raster image. By default, a marker symbol used on polygon layers draws markers at all polygon vertices. If usecentroid is set to true, the marker is placed in the centroid of the polygon. If multiple polygon parts exist, the marker falls on the part with the biggest area.

Parameters:

setUseCentroid="true|false" [true]

WebFOCUS