2

In my map application built on ESRI's javascript API there are a number of points that share a lat/long. I need a way to allow the user to see all of the points at a specific location by exploding them outward when the top point is clicked. The effect would need to be something like this.

I know this can be done in other libraries, but I can't find anything similar in the ESRI universe. ArcGIS is a client requirement so I need to stay within that API.

4

See:
http://lele3p.altervista.org/examples/cluster27/index.html
You can download the source code at:
http://lele3p.altervista.org/downloads/cluster27.zip

  • I initially didn't think this was quite the right solution but I revisited and realized that it appears to do the trick. Thanks for the tip! – spencerrecneps Jan 27 '14 at 16:43
3

I know this thread is quite old, but I came across it researching the same thing so thought I'd post my solution in case it helps anyone.

I couldn't find anything that did exactly what I wanted so I created a layer for it. Clusters points and creates flares for the clusters. Similar to the accepted answser provided by lele3p. Just posted it on github.

https://github.com/nickcam/FlareClusterLayer

0

we did it through the server-side clustering solutions and use Esri js-apis to plot the JSON outputs; pls see the app link: http://www.bdvengine.info:8080/bdvengine/BDVMap.html

0

There is an official ArcGIS API sample for this now. However, there many TODOs in the code, so you can really use it only if your data are very similar to those in the example. Lele3p's or NickCameron's solution should be better.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.