Skip to content

Commit 1231b27

Browse files
committed
Update README.
1 parent 06fe516 commit 1231b27

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Shared/Samples/Display clusters/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Feature clustering can be used to dynamically aggregate groups of points that ar
1010

1111
## How to use the sample
1212

13-
Pan and zoom the map to view how clustering is dynamically updated. Toggle clustering off to view the original point features that make up the clustered elements. When clustering is toggled on, you can tap on a clustered geoelement to view aggregated information and summary statistics for that cluster. When clustering is toggled off and you tap on the original feature you get access to information about individual power plant features.
13+
Pan and zoom the map to view how clustering is dynamically updated. Toggle clustering off to view the original point features that make up the clustered elements. When clustering is toggled on, you can tap on a clustered geoelement to view aggregated information and summary statistics for that cluster as well as a list of containing geoelements. When clustering is disabled and you tap on the original feature you get access to information about individual power plant features.
1414

1515
## How it works
1616

@@ -20,7 +20,8 @@ Pan and zoom the map to view how clustering is dynamically updated. Toggle clust
2020
4. Use the `onSingleTapGesture` modifier to listen for tap events on the map view.
2121
5. Identify tapped features on the map using `identify(on:screenPoint:tolerance:returnPopupsOnly:maximumResults:)` on the feature layer and pass in the map screen point location.
2222
6. Get the `Popup` from the resulting `IdentifyLayerResult` and use it to construct a `PopupView`.
23-
7. Use a `FloatingPanel` to display the popup information from the `PopupView`.
23+
7. Get the `AggregateGeoElement` from the `IdentifyLayerResult` and use `geoElements` to retrieve the contained `GeoElement` objects.
24+
8. Use a `FloatingPanel` to display the popup information from the `PopupView` and the list containing the `GeoElement` objects.
2425

2526
## Relevant API
2627

0 commit comments

Comments
 (0)