Packagecom.esri.ags.symbol
Classpublic class MarkerSymbol
InheritanceMarkerSymbol Inheritance Symbol Inheritance flash.events.EventDispatcher
SubclassesPictureMarkerSymbol, 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
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
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  [read-write]

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

This property can be used as the source for data binding.

Implementation
    public function get angle():Number
    public function set angle(value:Number):void
xoffsetproperty 
xoffset:Number  [read-write]

The offset on the x-axis in pixels.

This property can be used as the source for data binding.

Implementation
    public function get xoffset():Number
    public function set xoffset(value:Number):void
yoffsetproperty 
yoffset:Number  [read-write]

The offset on the y-axis in pixels.

This property can be used as the source for data binding.

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