how to do clustering in ESRI MAP using Javascript

1189
3
07-24-2014 12:38 AM
Aswin_KumarJayaraman
New Contributor

Hello,

I am planning to do a clustering of my points using ESRI MAP(JAVASCRIPT) without using Arcgis Online. I am just using the Javascript API to do this.

Can anyone help me out on how do we achieve the same.

Thanks & regards,

Aswin

0 Kudos
3 Replies
by Anonymous User
Not applicable

Hi Aswin,

Does this sample help?

Point clustering | ArcGIS API for JavaScript

Richard

0 Kudos
Aswin_KumarJayaraman
New Contributor

Hi Richard,

I tried that. But when am trying to just copy paste the same html on to my local i am getting this error " Failed to Load Cluster Layer.js".

http://js.arcgis.com/3.10/js/dojo/extras/ClusterLayer.js

Thanks

Aswin

0 Kudos
by Anonymous User
Not applicable

Aswin,

I downloaded the zip file and placed it in IIS. Accessing the index.html I receive an error "HTTP 404.3 - Not Found". You can solve this problem by defining the json extension in the MIME settings of IIS. I am not sure this would help you.

I tried it as well in a Tomcat installation and there I have no problem at all.

Richard

0 Kudos