Point cluster more than one FeatureLayer

1259
1
04-27-2016 07:20 AM
MarshallRobinson
New Contributor III

I'm trying to develop a map that clusters points from more than one FeatureLayer. Clustering points from one FeatureLayer is simple, but I can't get overlapping points from different FeatureLayers to cluster. Is this possible? Thanks!

0 Kudos
1 Reply
ReneRubalcava
Frequent Contributor

You would need to combine the features, via a FeatureCollection in order to be able to do that or else there would be no way to calculate which points to cluster between the two. In that case, you could pull from this sample to work out how to do it.

Point clustering | ArcGIS API for JavaScript