LocalClusterLayer Class |
Namespace: Telogis.GeoBase.Clustering
The LocalClusterLayer type exposes the following members.
Name | Description | |
---|---|---|
LocalClusterLayer |
Creates and initializes a local cluster layer for fetching, caching, and indexing
clusters.
|
Name | Description | |
---|---|---|
BeginGetClusters |
Starts calculating clusters asynchronously.
| |
BeginGetImage |
Obtains the image for a cluster asynchronously.
| |
BeginRefresh |
Starts updating the feature data for the clusters asynchronously.
| |
Dispose |
Disposes of this local cluster layer.
| |
EndGetClusters |
Returns the clusters calculated asynchronously by
BeginGetClusters(Int32, BoundingBox, AsyncCallback, Object) when the calculation is complete.
| |
EndGetImage |
Returns the image for a cluster made available by a call to
BeginGetImage.
| |
EndRefresh |
Executes when a refresh initiated by a call to BeginRefresh(AsyncCallback, Object) completes.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
OnClustersChanged |
Event that is fired when new features are available for the local cluster layer.
|
LocalClusterLayer is intended to act as a single, global object that persists for the lifetime of your application. It fetches point data automatically, based on the refresh rate of the feature data source. This data is cached to improve performance.Applications that use a cluster layer locally to generate clusters, but that do not keep a reference to the cluster layer once the clusters are first generated should use TransientClusterLayer instead.
All calls to IPointFeatureSource and IPointFeature occur on a separate thread from the thread used to call BeginGetClusters(Int32, BoundingBox, AsyncCallback, Object).