ArcGIS API for Silverlight - Library Reference
ClusterGraphicsAsync Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace > GraphicsClusterer Class : ClusterGraphicsAsync Method

graphics
The collection of graphics to cluster.
resolution
The resolution used to determine how much to cluster.
Begins clustering a set of graphics.

Syntax

Visual Basic (Declaration) 
Public Overrides Sub ClusterGraphicsAsync( _
   ByVal graphics As IEnumerable(Of Graphic), _
   ByVal resolution As Double _
) 
C# 
public override void ClusterGraphicsAsync( 
   IEnumerable<Graphic> graphics,
   double resolution
)

Remarks

The clustering algorithm is expected to run on a separate cancellable thread to prevent blocking the UI. On completion, raise ClusteringCompleted by invoking OnClusteringCompleted. The event should not be raised if clustering was cancelled.

Parameters

graphics
The collection of graphics to cluster.
resolution
The resolution used to determine how much to cluster.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

© ESRI, Inc. All Rights Reserved.