get Geo Json Cluster Leaves
Returns all the leaves (original points) of a cluster (given its cluster_id) from a GeoJsonSource, with pagination support: limit is the number of leaves to return (set to Infinity for all points), and offset is the amount of points to skip (for pagination).
Requires configuring the source as a cluster by calling GeoJsonSource.Builder#cluster(boolean).
Return
A cancelable
object that could be used to cancel the pending query.
Parameters
GeoJsonSource identifier.
Cluster from which to retrieve leaves from
The number of points to return from the query (must use type Long, set to maximum for all points). Defaults to 10.
The amount of points to skip (for pagination, must use type Long). Defaults to 0.
The result will be returned through the QueryFeatureExtensionCallback. The result is a feature collection or a string describing an error if the operation was not successful.