Click or drag to resize

IClusteringAlgorithmCalculateClusters Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Calculates all clusters in terms of the given map. If clustering the whole world (i.e. when running on a tile-server) the map object should encompass the entire world. For example:
int worldSizePx = TileSize * TilesPerSuperTile * Zoom;
Map map = new Map(new LatLon(0, 0), worldSizePx, worldSizePx, ZoomLevel.World);
IClusteringAlgorithms are not expected to implement caching.

Namespace:  Telogis.GeoBase.Clustering
Assembly: (in Version:
IEnumerable<Cluster> CalculateClusters(
	IMap map,
	IEnumerable<IPointFeature> features,
	IClusterVisualization visualization


Type: Telogis.GeoBaseIMap
The map to use for calculating pixel coordinates.
Type: System.Collections.GenericIEnumerableIPointFeature
The features to be clustered.
Type: Telogis.GeoBase.ClusteringIClusterVisualization
The visualization which will be used to draw the clusters.

Return Value

Type: IEnumerableCluster
The set of all clusters.
See Also