AnsweredAssumed Answered

Cluster with Javascript API

Question asked by montrad on Oct 15, 2014

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

Outcomes