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?
Leo,
Sorry I do not know that.
Looks like this GitHub repo might have what you need:
supports both 3.x and 4.x
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.
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