Packagecom.esri.ags.symbols
Classpublic class InfoSymbol
InheritanceInfoSymbol Inheritance Symbol Inheritance flash.events.EventDispatcher

Used to display info markers (or bubble markers), containing your own content, at points (MapPoint) on the graphics layer. InfoSymbol takes any Flex component and displays it on your point(s) - similar to MarkerSymbols (SimpleMarkerSymbol and PictureMarkerSymbol) and TextSymbol.

Note 1: InfoSymbol only supports MapPoint, not Multipoint.

Note 2: Printing with PrintTask for InfoSymbol is not supported, nothing will be printed.

See also

Live sample - Using InfoSymbols for identify (map click) results
Live sample - Basic InfoSymbols
Live sample - Styling InfoSymbols
Live sample - InfoSymbols with different states ("click", "rollover" and "rollout")
Live sample - Using InfoSymbols to display query results in charts etc


Public Properties
 PropertyDefined By
  containerStyleName : String
The info symbol container style name.
InfoSymbol
  infoPlacement : String
The info symbol placement.
InfoSymbol
  infoRenderer : IFactory
The class factory for info renderer instances content.
InfoSymbol
Public Methods
 MethodDefined By
  
Creates a new InfoSymbol.
InfoSymbol
 Inherited
clear(sprite:Sprite):void
Clears the graphics that were drawn to the sprite object.
Symbol
 Inherited
Creates a copy of the symbol.
Symbol
 Inherited
createSwatch(width:Number = 50, height:Number = 50, shape:String = null):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
Helper function to handle wrap around.
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
toScreenXY(map:Map, mapX:Number, mapY:Number):Point
Converts map coordinates to screen coordinates.
Symbol
 Inherited
toScreenY(map:Map, mapY:Number):Number
Converts the y-coordinate of map point to a screen point.
Symbol
Property Detail
containerStyleNameproperty
public var containerStyleName:String

The info symbol container style name.

Note: the containerStyleName property was added in version 1.1 of the ArcGIS API for Flex.

infoPlacementproperty 
infoPlacement:String

The info symbol placement.

The default value is InfoPlacement.UPPERRIGHT.


Implementation
    public function get infoPlacement():String
    public function set infoPlacement(value:String):void

See also

infoRendererproperty 
infoRenderer:IFactory

The class factory for info renderer instances content.


Implementation
    public function get infoRenderer():IFactory
    public function set infoRenderer(value:IFactory):void
Constructor Detail
InfoSymbol()Constructor
public function InfoSymbol()

Creates a new InfoSymbol.