How to access features inside arcgis api 4.x cluster

346
1
10-21-2020 01:56 PM
StefanSimon
Esri Contributor

When user clicks on a cluster, I'm trying to access the features from the cluster and display them in a popup, for example.

There is a way to access the list of features from a cluster using ArcGIS api 4.x?

In ArcGIS API for js 3.x there is a way to display features in a cluster.

In ArcGIS API for js 4.x I can only get only aggregated info about features inside.

0 Kudos
1 Reply
AnneFitz
Esri Contributor

Hi Stefan,

Querying for features within a cluster is now supported in version 4.18. Check out this sample to see how it's done and to learn more: https://developers.arcgis.com/javascript/latest/sample-code/featurereduction-cluster-query/index.htm...

Hope this helps!

0 Kudos