I’ve a ClusterLayer, how can i implement the counting points that exists in a cluster, depending on the map scale. In other cases I apply only (layer.graphics.length) but in a ClusterLayer, how?
Are you using this clusterfeaturelayer?
Each graphic in the cluster (cluster.graphics) should have a clusterCount attribute to let you know how many points make up the cluster. I think even the simple cluster layer has this.
If you want the total count of all data in featurelayer, I think _clusterData.length is property you want.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.