I found a clustering sample in ArcGis website. Points clustering
However in the sample is passing in JSON data to the cluster layer in order to perform the clustering. Is there any method to do similar action but the source will be from a stream layer instead of a JSON data or feature layer?
Just to share my finding. I managed to apply clustering on stream layer itself by running the clustering function every time upon stream layer "update-end" event. All graphics in that stream layer need to pass into the clustering function in order to perform clustering.
This solution might not be perfect but it works for my current requirement.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.