Maps for Office を使用すると、下図のように「ポイントのクラスタリング」というボタンがあります。とても便利な機能です。
このボタンをクリックしてレイヤーを ArcGIS Online に送信した後、オンラインでマップ(ArcGIS Online の Map Viewer)を開くと、クラスタリングが表示されなくなっています。元に戻す方法をご存じの方はいませんか?
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
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.
Flagging Don Opgenorth to perhaps direct the request
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.
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?
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:
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).
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.