Keep/Persist Popup Info Windows Open

471
2
Jump to solution
01-08-2020 06:05 PM
HenryKo2
New Contributor III

Hi, is there a way to keep multiple popup windows open?

The default behaviour is the Map instance always ensures there is one Popup / InfoWindow open, such as when user clicks the features on a feature layer that has a Popup configured with it.

My requirement is I need to keep all the popup windows open.

I am using ArcGIS for JavaScript API 3.x.

0 Kudos
2 Solutions

Accepted Solutions
RobertScheitlin__GISP
MVP Esteemed Contributor

Henry,

 The maps Popup dijit is a singleton type object so no you can not have more then one open on the map.

View solution in original post

HenryKo2
New Contributor III

In the end, I ended up creating my own "popup" / "InfoWindow" with good old plain HTML DIV elements, so they can stay open on the map and I can do whatever i want with them.

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Henry,

 The maps Popup dijit is a singleton type object so no you can not have more then one open on the map.

HenryKo2
New Contributor III

In the end, I ended up creating my own "popup" / "InfoWindow" with good old plain HTML DIV elements, so they can stay open on the map and I can do whatever i want with them.