Skip to content

Commit f3a316a

Browse files
authored
Merge pull request #95020 from rbrundritt/patch-4
Update clustering-point-data-web-sdk.md
2 parents 36204ed + 5b939a3 commit f3a316a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-maps/clustering-point-data-web-sdk.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The `DataSource` class provides the following methods related to clustering as w
4646
|--------|-------------|-------------|
4747
| getClusterChildren(clusterId: number) | Promise<Array<Feature<Geometry, any> \| Shape>> | Retrieves the children of the given cluster on the next zoom level. These children may be a combination of shapes and subclusters. The subclusters will be features with properties matching ClusteredProperties. |
4848
| getClusterExpansionZoom(clusterId: number) | Promise<number> | Calculates a zoom level at which the cluster will start expanding or break apart. |
49-
| getClusterLeaves(clusterId: number, limit: number, offset: number) | Promise<Array<Feature<Geometry, any> \| Shape>> | Retrieves all points in a cluster. Set the `limit` to return a subset of the points, and use the `offset` to page through the points. |
49+
| getClusterLeaves(clusterId: number, limit: number, offset: number) | Promise<Array<Feature<Geometry, any> \| Shape>> | Retrieves the points in a cluster. By default the first 10 points are returned. To page through the points, use `limit` to specify the number of points to return, and `offset` to step through the index of points. To return all points, set `limit` to `Infinity` and don't set `offset`. |
5050

5151
## Display clusters using a bubble layer
5252

@@ -149,4 +149,4 @@ See code examples to add functionality to your app:
149149
> [Add a symbol layer](map-add-pin.md)
150150
151151
> [!div class="nextstepaction"]
152-
> [Add a heat map layer](map-add-heat-map-layer.md)
152+
> [Add a heat map layer](map-add-heat-map-layer.md)

0 commit comments

Comments
 (0)