Esri / cluster-layer-js

One example of how to cluster many point features
http://esri.github.io/cluster-layer-js/
Apache License 2.0
62 stars 50 forks source link

How to stop clustering after some map extent and show the features independently? #41

Open Akshayloya opened 7 years ago

Akshayloya commented 7 years ago

I'm trying to stop clustering after a map extent and show the features independently instead, but couldn't find a solution for it. Kindly help! Thanks in advance.

jgravois commented 7 years ago

i'd recommend writing your own logic to check the zoom level of the map after it has changed and remove your cluster layer and add a normal FeatureLayer pointing at the same service when it would be appropriate.