Packagecom.esri.ags.symbol
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 that InfoSymbol only supports MapPoint, not Multipoint.

Sample image of an InfoSymbol using the default datagrid: Default datagrid with key/value columns

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
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
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  [read-write]

The info symbol placement.

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

See also

infoRendererproperty 
infoRenderer:IFactory  [read-write]

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.