ArcGIS API for WPF - Library Reference
ClusterGraphicsAsync Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace > Clusterer 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 MustOverride Sub ClusterGraphicsAsync( _
   ByVal graphics As IEnumerable(Of Graphic), _
   ByVal resolution As Double _
) 
C# 
public abstract void ClusterGraphicsAsync( 
   IEnumerable<Graphic> graphics,
   double resolution
)

Parameters

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

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.

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.