Adding more points to my ClusterLayer

Discussion created by AndyMan on Nov 8, 2013
Latest reply on Nov 11, 2013 by AndyMan

I have been working with the clusterlayer examples and have had success with up to 10,000 points.  However, my database query which brings back my collection of JSON objects takes a while.

I want to start displaying results quickly, so I am trying to figure out how to start my clusterlayer with 1,000 points and then in a rolling fashion add an additional 1,000 to it.  I have the layer running (on a button click) and then I want to simulate the adding of other data points to the original clusterlayer through a button click.

So far I am having no luck with this.

Has anyone else tried something like this where you may be adding points dynamically, to an existing clusterlayer (which is on the map and has data in it)