Click or drag to resize

IClusteringAlgorithm Methods

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

The IClusteringAlgorithm type exposes the following members.

Public methodCalculateClusters
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.
Public methodGetQueryBounds
Get the required query bounds for calculating clusters for the given viewport.
See Also