Cluster Points function is not available in ArcGis online map

4400
6
Jump to solution
07-06-2016 09:11 PM
MinaGurgis1
New Contributor II

When using Maps for Office there is a button called "Cluster Points" as shown below. That's a very useful function.

After I click on the button and send this layer to ArcGIS Online, I then open the map online (in the ArcGIS online Map Viewer) and do not see the clustering anymore. Any ideas how do I get it back?

1 Solution

Accepted Solutions
AdrianWelsh
MVP Honored Contributor

Mina,

I did not know that the ArcGIS Maps for Office had a cluster option. And you're completely right, this would be extremely useful in AGOL.

I have always relied on custom JavaScript to make clustering happen:

Point clustering | ArcGIS API for JavaScript 3.17

I also stumbled upon this GitHub code for clustering (which also uses JavaScript):

GitHub - Esri/cluster-layer-js: One example of how to cluster many point features

I would suggest making an ArcGIS Idea for this but there are several other ideas out there for clustering and fortunately, this is being considered. You can go here and help vote the idea up:

https://community.esri.com/ideas/6029 

View solution in original post

6 Replies
AdrianWelsh
MVP Honored Contributor

Mina,

I did not know that the ArcGIS Maps for Office had a cluster option. And you're completely right, this would be extremely useful in AGOL.

I have always relied on custom JavaScript to make clustering happen:

Point clustering | ArcGIS API for JavaScript 3.17

I also stumbled upon this GitHub code for clustering (which also uses JavaScript):

GitHub - Esri/cluster-layer-js: One example of how to cluster many point features

I would suggest making an ArcGIS Idea for this but there are several other ideas out there for clustering and fortunately, this is being considered. You can go here and help vote the idea up:

https://community.esri.com/ideas/6029 

MinaGurgis1
New Contributor II

Thanks Adrian, I voted the idea up, it seems it's been there since 2012 and nothing has happened

The problem with JavaScript approach is that I'm creating a web app that's hosted on ArcGIS online and once I start using JS I need to host the web app my self - which I don't want to do.

0 Kudos
DanPatterson_Retired
MVP Emeritus

Flagging Don Opgenorth​ to perhaps direct the request

0 Kudos
MetralAlexis
Occasional Contributor

Hi Adrian,

Could you give us some hints about how to implement the GitHub code for clustering ?

I can run it locally but I have no ideas about how to add and apply it to layers of my own web application.

Thanks.

Alex.

0 Kudos
AdrianWelsh
MVP Honored Contributor

Alex,

I have not used the GitHub code. I only mentioned that I stumbled across it and wanted to reference it as an example. What issues are you having? Where is your web map hosted? In order to be able to see your data on the web, it needs to be on a server somehow. Can you give some more details on your set up?

0 Kudos
MetralAlexis
Occasional Contributor

Hi Adrian,

Thanks for your answer. That would be difficult to see the data on the web because everything is locked on our local network. However, what I want to do is simple:

  • I've a basic web application with point layers
  • That would be good if I could apply clustering to one of these layers
  • The widget provided by ESRI is useless for me and that piece of code would be great

But anyway I'm already stuck with the example posted on GitHub. It works with the defaults parameters but not with my local service (I've posted a question there).

0 Kudos