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 ) |
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.
Target Platforms:Windows Phone 7