Packagecom.esri.ags.clusterers
Interfacepublic interface IClusterer extends flash.events.IEventDispatcher
Implementors BaseClusterer

Clusterer interface.



Public Methods
 MethodDefined By
  
clusterGraphics(graphicsLayer:GraphicsLayer, graphicCollection:ArrayCollection):Array
Cluster the graphics in a graphics layer.
IClusterer
  
destroy(graphicsLayer:GraphicsLayer):void
Release any resource allocated by the clusterer when assigned to a graphics layer.
IClusterer
  
initialize(graphicsLayer:GraphicsLayer):void
Initialize the clusterer when assigned to a graphics layer.
IClusterer
Method Detail
clusterGraphics()method
public function clusterGraphics(graphicsLayer:GraphicsLayer, graphicCollection:ArrayCollection):Array

Cluster the graphics in a graphics layer.

Parameters

graphicsLayer:GraphicsLayer — Reference to a GraphicsLayer instance.
 
graphicCollection:ArrayCollection — Collection of Graphics instances.

Returns
Array — array of graphics. If a graphic represents a cluster then it will be an instance of ClusterGraphic.
destroy()method 
public function destroy(graphicsLayer:GraphicsLayer):void

Release any resource allocated by the clusterer when assigned to a graphics layer.

Parameters

graphicsLayer:GraphicsLayer — Reference to a GraphicsLayer instance.

initialize()method 
public function initialize(graphicsLayer:GraphicsLayer):void

Initialize the clusterer when assigned to a graphics layer.

Parameters

graphicsLayer:GraphicsLayer — Reference to a GraphicsLayer instance.