Optionaloptions: SuperclusterOptionsA tree per zoom level. A zoom level where no clusters form shares the tree of the zoom level above it.
Returns the immediate children (clusters or points) of a cluster as GeoJSON.
The target cluster id.
Returns the zoom level at which a cluster expands into multiple children.
The target cluster id.
Returns clusters and/or points within a bounding box at a given zoom level.
Bounding box in [westLng, southLat, eastLng, northLat] order, or [minX, minY, maxX, maxY] in the unit square with coordinates: 'unitSquare'.
In a world that wraps, the box can reach across the antimeridian. In one that doesn't, only its part inside the world counts.
Zoom level to query.
Returns leaf point features under a cluster, paginated by limit and offset.
The target cluster id.
Optionallimit: number
Maximum number of points to return (defaults to 10).
Optionaloffset: number
Number of points to skip before collecting results (defaults to 0).
Generates a vector-tile-like representation of a single tile.
Tile zoom.
Tile x coordinate.
Tile y coordinate.
Internal
Loads internal GeoJSONVT point features from a data source and builds the clustering index. Each position of a MultiPoint feature becomes a point of its own, with the id and properties of its feature.
GeoJSONVTInternalFeature data source features to filter and cluster.
Loads GeoJSON Point and MultiPoint features and builds the internal clustering index. Each position of a MultiPoint is clustered as a point of its own, with the id and properties of its feature.
GeoJSON Point and MultiPoint features to cluster.
Internal
Updates the cluster data by rebuilding.
This class allow clustering of geojson points.