This page describes an older version, please see latest API at http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/clusterers/GridClusterer.html.
Packagecom.esri.ags.clusterers
Classpublic class GridClusterer
InheritanceGridClusterer Inheritance ESRIClusterer Inheritance BaseClusterer Inheritance flash.events.EventDispatcher

Since : ArcGIS API for Flex 2.0

Clusters a set of MapPoints based on a grid algorithm. All non-MapPoint graphics are passed through as is, without being clustered.



Public Properties
 PropertyDefined By
 InheritedclusterWeightFunction : Function
Reference to a function to calculate the weight of a cluster.
ESRIClusterer
 InheritedextentExpandFactor : Number
How much to expand the map extent to find all enclosing graphics.
ESRIClusterer
 InheritedgraphicToMapPointFunction : Function
Reference to a function to convert a graphic geometry to a MapPoint instance.
ESRIClusterer
 InheritedminGraphicCount : int
The minimum number of graphic to display in a cluster, before rendering the cluster using the clusterer symbol.
ESRIClusterer
 InheritedoverallMaxCount : int
The overall maximum number of graphics in a computed cluster.
ESRIClusterer
 InheritedoverallMaxWeight : Number
The overall maximum weight of a computed cluster.
ESRIClusterer
 InheritedoverallMinCount : int
The overall minimum number of graphics in a computed cluster.
ESRIClusterer
 InheritedoverallMinWeight : Number
The overall mininum weight of a computed cluster.
ESRIClusterer
 InheritedsizeInPixels : Number
The cluster size in pixels.
ESRIClusterer
 Inheritedsymbol : Symbol
Default symbol for the clustered graphics.
ESRIClusterer
Public Methods
 MethodDefined By
  
Creates a new GridClusterer instance.
GridClusterer
 Inherited
clusterGraphics(graphicsLayer:GraphicsLayer, graphicCollection:ArrayCollection):Array
This function _has_ to be implemented by subclasses.
BaseClusterer
 Inherited
destroy(graphicsLayer:GraphicsLayer):void
Empty implementation of interface that can be overridden by subclasses.
BaseClusterer
 Inherited
initialize(graphicsLayer:GraphicsLayer):void
Empty implementation of interface that can be overridden by subclasses.
BaseClusterer
Protected Methods
 MethodDefined By
 Inherited
createClusterGraphic(cluster:Cluster, arr:Array):void
Create a ClusterGraphic instance given a Cluster instance.
ESRIClusterer
 Inherited
dispatchEventChange(type:String = null):void
Helper function to dispatch an event.
BaseClusterer
Constructor Detail
GridClusterer()Constructor
public function GridClusterer()

Creates a new GridClusterer instance.