Optional
data: JSONCollection<unknown, M, M>if provided, the data to index
Optional
options: ClusterOptions<M>cluster options on how to build the cluster
Optional
maxzoomStore: VectorStore<PointShape<Cluster<M>>>the store to use for the maxzoom index
Build the clusters when done adding points
Optional
cmp_: ClusterDataComparitor<M>custom compare function
the cell id
Add a point to the maxzoom index. The point is a Point3D
the point to add
Insert an STPoint to the index
the face of the cell
the s coordinate
the t coordinate
the data associated with the point
Add a lon-lat pair to the cluster
lon-lat vector point in degrees
Add all points from a reader. It will try to use the M-value first, but if it doesn't exist it will use the feature properties data
a reader containing the input data
Point Cluster
Description
A cluster store to index points at each zoom level
Usage