Packagecom.esri.ags.symbols
Classpublic class MarkerSymbol
InheritanceMarkerSymbol Inheritance Symbol Inheritance flash.events.EventDispatcher
Subclasses PictureMarkerSymbol, SimpleMarkerSymbol

Base class for marker symbols. Use its subclasses (SimpleMarkerSymbol or PictureMarkerSymbol) directly to draw points and multipoints on the graphics layer.

See also

SimpleMarkerSymbol
PictureMarkerSymbol


Public Properties
 PropertyDefined By
  angle : Number
The angle of the marker.
MarkerSymbol
  xoffset : Number
The offset on the x-axis in pixels.
MarkerSymbol
  yoffset : Number
The offset on the y-axis in pixels.
MarkerSymbol
Public Methods
 MethodDefined By
 Inherited
clear(sprite:Sprite):void
Clears the graphics that were drawn to the sprite object.
Symbol
 Inherited
createSwatch(width:Number = 50, height:Number = 50):UIComponent
Creates a swatch for a symbol which can be used in a legend.
Symbol
 Inherited
destroy(sprite:Sprite):void
Removes all the graphics that were drawn to the sprite object and resets its properties.
Symbol
 Inherited
draw(sprite:Sprite, geometry:Geometry, attributes:Object, map:Map):void
Draw the graphics on the sprite object.
Symbol
 Inherited
initialize(sprite:Sprite, geometry:Geometry, attributes:Object, map:Map):void
Initialize the sprite.
Symbol
Protected Methods
 MethodDefined By
 Inherited
Helper function to dispatch a change event.
Symbol
 Inherited
removeAllChildren(sprite:Sprite):void
Removes all children from the sprite object.
Symbol
 Inherited
toScreenX(map:Map, mapX:Number):Number
Converts the x-coordinate of map point to a screen point.
Symbol
 Inherited
toScreenY(map:Map, mapY:Number):Number
Converts the y-coordinate of map point to a screen point.
Symbol
Property Detail
angleproperty
angle:Number

The angle of the marker. 0 is pointing right and values progress clockwise.


Implementation
    public function get angle():Number
    public function set angle(value:Number):void
xoffsetproperty 
xoffset:Number

The offset on the x-axis in pixels.


Implementation
    public function get xoffset():Number
    public function set xoffset(value:Number):void
yoffsetproperty 
yoffset:Number

The offset on the y-axis in pixels.


Implementation
    public function get yoffset():Number
    public function set yoffset(value:Number):void