This page describes an older version, please see latest API at http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/clusterers/supportClasses/Cluster.html.
Packagecom.esri.ags.clusterers.supportClasses
Classpublic class Cluster
InheritanceCluster Inheritance Object

Since : ArcGIS API for Flex 2.0

A cluster has a center and an array of graphics that formed the cluster.



Public Properties
 PropertyDefined By
  center : MapPoint
The center of the cluster expressed as a map point.
Cluster
  graphics : Array
Array of original Graphic instances associated with this cluster.
Cluster
  weight : Number
The "weight" of the cluster.
Cluster
Public Methods
 MethodDefined By
  
Cluster(center:MapPoint = null, weight:Number = 0.0, graphics:Array = null)
Creates a new Cluster instance.
Cluster
Property Detail
centerproperty
public var center:MapPoint

The center of the cluster expressed as a map point.

graphicsproperty 
public var graphics:Array

Array of original Graphic instances associated with this cluster.

weightproperty 
public var weight:Number

The "weight" of the cluster. Typically, this will be the number of graphics in the cluster.

Constructor Detail
Cluster()Constructor
public function Cluster(center:MapPoint = null, weight:Number = 0.0, graphics:Array = null)

Creates a new Cluster instance.

Parameters
center:MapPoint (default = null) — The center of the cluster.
 
weight:Number (default = 0.0) — The weight of the cluster.
 
graphics:Array (default = null) — Array of Graphic instances.