Cluster with Javascript API

2455
0
10-15-2014 03:04 AM
DamianoMontrasio
New Contributor III

in reference to this example:

Point clustering | ArcGIS API for JavaScript

has anyone ever tried to use the cluster for objects that are dynamically added by the user?

The cluster must be cleared with the clear (), removed with remove () and re-created with addlayer()?

In this situation happens that the CLUSTER_ID changes and the popup refers to another cluster. The json data passed to the cluster is rather correct.

 

Someone else has encountered a problem?

What would be the most correct procedure pre regenerate the cluster without reloading the map?

 

Thanks in advance...

Damiano

0 Kudos
0 Replies