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

the extent-change listener on the map is now pausable #15

Closed jwasilgeo closed 9 years ago

jwasilgeo commented 9 years ago

Great work on this repo! A fun layer to use. @alaframboise do you mind taking a look at this PR? I made 'this._extentChange' become paused/resumed as the layer is suspended/resumed to keep from making unnecessary calls to this._reCluster(). I decided to wire this up because I found that there was still reclustering logic (and thus network traffic) being carried out even when I had the layer's visibility turned off. Not entirely sure if my modifications from L382 and down are in the most ideal spot.

jwasilgeo commented 9 years ago

Or anyone else? Didn't mean to single out just one person. Not sure who is currently maintaining this repo. Thanks y'all.

jwasilgeo commented 9 years ago

@alaframboise thank you!