Select to view content in your preferred language

how to create point clustering in 4.x

6523
13
01-04-2017 06:52 AM
vamsi_krishnavissapragada
Deactivated User

i want to create point clustering in the latest argis javascript 

i dont find any examples related to the 4.x version yet there are many for the 3.x versions can anbody help me out?

13 Replies
RobertScheitlin__GISP
MVP Emeritus

Leo,

   Sorry I do not know that.

0 Kudos
BrandonFlessner
Frequent Contributor

Looks like this GitHub repo might have what you need:

GitHub - nickcam/FlareClusterLayer: ArcGIS javascript custom graphics layer. Creates clusters and cr... 

supports both 3.x and 4.x

KristianEkenes
Esri Regular Contributor

Here are the samples in the documentation for 3.x that show clustering. 

Samples | ArcGIS API for JavaScript 3.26 

Take particular not of the setFeatureReduction() method on the FeatureLayer.

0 Kudos
KristianEkenes
Esri Regular Contributor

Clustering has been available in 4.x for about 6 months now - Point clustering | ArcGIS API for JavaScript 4.15 .

You can use our next API to test labeling cluster counts on clusters - feedback-js-api-next/CHANGELOG.md at master · Esri/feedback-js-api-next · GitHub  

0 Kudos