I know its possible to do with flex api.
it is adding for first graphic and if I try to add second graphic, the first graphic info window is deleting and it is adding to second graphic.
"The map is only allowed to have one info window (singleton design)." is this statement true for java script api?
All answers are greatly appreciated..
Why do you want to show multiple popups? That's probably very confusing for the user. Can't you show all the graphics in one popup with arrows to let the user page through the graphics? This is ootb functionality of the esri/dijit/Popup widget.
I had 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's pretty old but may help others looking for it as I came across this one while searching for a solution.
Amazing work Nick! Have you managed to get it to work with feature services and layers from a webmap?
Based on your example, it seems to be working only for graphic layers at the moment.
Hey mate. Haven't looked at this in ages so had to refresh my memory . The demo is using a couple of feature layers and a graphics layers. Just try it out with any type of layer, it should work the same as a regular popup. Not sure about layers from a webmap though.