Hi all,
How can I display more than one infowindow/popup on my map? On ArcGIS API reference, it says only one infowindow can be displayed at a time. Is there a way to bypass it?
Prithiv.
Hi Prithiv,
I have the same requirement...couldn't find anything so built a Popup subclass to allow multiple popups on a map and a few other things.
Just put it up on Github...I know this thread is a bit old but it may help yourself or someone else.
nickcam/PopupExtended · GitHub
Might not be what you're looking for, you can take all the features you're interested in and add them to the infoWindow so you can cycle through one at a time.
map.infoWindow.setFeatures([a,b,c]);
Or you could look at labeling selections instead of the popup. If you really want to see all the attributes of a bunch of things at the same time then Jake has the best idea.
I'm not sure if there is a way to bypass this, but a workaround that may work for you is to populate a DataGrid with a set of attribute information for one layer, and enable the popup/infoWindow for the other layer. Here is an example of this.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.