Click or drag to resize

IClusteringAlgorithm Interface

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
The interface for a clustering algorithm used by LocalClusterLayer to generate clusters.

Namespace:  Telogis.GeoBase.Clustering
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public interface IClusteringAlgorithm

The IClusteringAlgorithm type exposes the following members.

Methods
  NameDescription
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.
Top
See Also