How can i show multiple popups at the same time on the map in javascript?

1536
2
12-19-2018 11:35 AM
AbdulKhan
New Contributor II

I have a map using js v 4.10 and I'd added a graphics layer with multiple graphics (points). There's a popup template attached to each point. When I click one point, its popup appear. When I click another point, the first popup disappears and the second point's popup appears.

If I have 3 points and each has a popup template attached, how can I show all 3 popups at the same time?

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Abdul,

   The maps popup widget is a singleton type and the map can only have ONE popup visible.

KellyHutchins
Esri Frequent Contributor

One option might be to use the Feature widget to display the popup content for the features you want to view. Here's a demo of how that would work: 

JS Bin - Collaborative JavaScript Debugging