Click or drag to resize

LocalClusterLayer Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
LocalClusterLayer is responsible for the fetching, caching, and indexing of clusters and associated features. Feature information is fetched on another thread and OnClustersChanged is called when new features are available.
Inheritance Hierarchy
SystemObject
  Telogis.GeoBase.ClusteringLocalClusterLayer

Namespace:  Telogis.GeoBase.Clustering
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public class LocalClusterLayer : IClusterLayer, 
	IDisposable

The LocalClusterLayer type exposes the following members.

Constructors
  NameDescription
Public methodLocalClusterLayer
Creates and initializes a local cluster layer for fetching, caching, and indexing clusters.
Top
Methods
  NameDescription
Public methodBeginGetClusters
Starts calculating clusters asynchronously.
Public methodBeginGetImage
Obtains the image for a cluster asynchronously.
Public methodBeginRefresh
Starts updating the feature data for the clusters asynchronously.
Public methodDispose
Disposes of this local cluster layer.
Public methodEndGetClusters
Returns the clusters calculated asynchronously by BeginGetClusters(Int32, BoundingBox, AsyncCallback, Object) when the calculation is complete.
Public methodEndGetImage
Returns the image for a cluster made available by a call to BeginGetImage.
Public methodEndRefresh
Executes when a refresh initiated by a call to BeginRefresh(AsyncCallback, Object) completes.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventOnClustersChanged
Event that is fired when new features are available for the local cluster layer.
Top
Remarks

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).

See Also