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?
Vamsi,
The 4.x api does not have all the features and classes that the 3.x api has YET. Clustering in the 3.x api was a custom layer (not part of the API). There is no clustering support yet.
so can we use that custom layer to develop with 4.x?
By the way, do esri have the plan to including cluster layer class in the js api in the near future ?
I am not sure. It likely would have to be updated.
Leo,
Sorry I do not know that.
thank you robert, do you have any idea how to create table of contents in 4.x?
Looks like this GitHub repo might have what you need:
GitHub - nickcam/FlareClusterLayer: ArcGIS javascript custom graphics layer. Creates clusters and creates flares for clu…
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
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.