Click or drag to resize

LocalClusterLayerBeginGetClusters Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Starts calculating clusters asynchronously.

Namespace:  Telogis.GeoBase.Clustering
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public IAsyncResult BeginGetClusters(
	int worldWidthPx,
	BoundingBox bbox,
	AsyncCallback callback,
	Object state
)

Parameters

worldWidthPx
Type: SystemInt32
The width, in pixels, of the entire area where clusterable features can be situated.
bbox
Type: Telogis.GeoBaseBoundingBox
The bounding box for the visible portion of the map for which clusters are calculated.
callback
Type: SystemAsyncCallback
A callback that is executed when the cluster calculation is complete.
state
Type: SystemObject
The state of the asynchronous cluster calculation

Return Value

Type: IAsyncResult
An IAsyncResult allowing the caller to query the state of the calculation.

Implements

IClusterLayerBeginGetClusters(Int32, BoundingBox, AsyncCallback, Object)
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown when bbox is not a valid BoundingBox or worldWidthPx is not greater than 1.
Remarks
BeginGetClusters fetches data from its IPointFeatureSource on a separate thread. This means that any callback that executes when cluster calculation is complete executes on a separate thread as well.
See Also