Optionaloptions: GeoJSONVTOptionsInternalThis is for the tests
InternalThis is for the tests
InternalThis is for the tests
Returns the immediate children (clusters or points) of a cluster as GeoJSON.
The target cluster id.
the immediate children or null in case of non-clustered source
Returns the zoom level at which a cluster expands into multiple children.
The target cluster id.
the expansion zoom or null in case of non-clustered source
Returns leaf point features under a cluster, paginated by limit and offset.
The target cluster id.
Maximum number of points to return (defaults to 10).
Number of points to skip before collecting results (defaults to 0).
leaf point features under a cluster or null in case of non-clustered source
Returns source data as GeoJSON - only available when updateable option is set to true.
Given z, x, and y tile coordinates, returns the corresponding tile with geometries in tile coordinates, much like MVT data is stored.
tile zoom level
tile x coordinate
tile y coordinate
the transformed tile or null if not found
Update supercluster options and regenerate the index.
whether to enable clustering
Updates the source data feature set using a GeoJSONVTSourceDiff
the source diff object
Optionalfilter: (feature: Feature) => boolean
Main class for creating and managing a vector tile index from GeoJSON data.