Stream layer clustering

1057
1
Jump to solution
11-17-2016 08:19 PM
Joo_PinTan
New Contributor III

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?

0 Kudos
1 Solution

Accepted Solutions
Joo_PinTan
New Contributor III

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.

View solution in original post

1 Reply
Joo_PinTan
New Contributor III

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.